|
|
@@ -2396,7 +2396,8 @@ public class ApplicationConnection { |
|
|
|
JSONArray paramJson = new JSONArray(); |
|
|
|
|
|
|
|
Type[] parameterTypes = null; |
|
|
|
if (!isLegacyVariableChange(invocation)) { |
|
|
|
if (!isLegacyVariableChange(invocation) |
|
|
|
&& !isJavascriptRpc(invocation)) { |
|
|
|
try { |
|
|
|
Type type = new Type(invocation.getInterfaceName(), |
|
|
|
null); |
|
|
@@ -2457,6 +2458,12 @@ public class ApplicationConnection { |
|
|
|
makeUidlRequest(req.toString(), extraParams, forceSync); |
|
|
|
} |
|
|
|
|
|
|
|
private boolean isJavascriptRpc(MethodInvocation invocation) { |
|
|
|
String connectorId = invocation.getConnectorId(); |
|
|
|
ServerConnector connector = connectorMap.getConnector(connectorId); |
|
|
|
return connector instanceof HasJavaScriptConnectorHelper; |
|
|
|
} |
|
|
|
|
|
|
|
private boolean isLegacyVariableChange(MethodInvocation invocation) { |
|
|
|
return ApplicationConstants.UPDATE_VARIABLE_METHOD.equals(invocation |
|
|
|
.getInterfaceName()) |