public class RemoteMethodInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, jadex.bridge.service.component.ISwitchCall
Modifier and Type | Field and Description |
---|---|
protected static java.lang.reflect.Method |
finalize |
protected ProxyReference |
pr
The proxy reference.
|
protected RemoteServiceManagementService |
rsms
The remote service management service.
|
protected static java.lang.reflect.Method |
schedulestep |
protected jadex.bridge.ITargetResolver |
tr
The target resolver.
|
Constructor and Description |
---|
RemoteMethodInvocationHandler(RemoteServiceManagementService rsms,
ProxyReference pr)
Create a new invocation handler.
|
Modifier and Type | Method and Description |
---|---|
protected jadex.commons.future.Future<java.lang.Object> |
createReturnFuture(jadex.bridge.IComponentIdentifier compid,
java.lang.String callid,
java.lang.reflect.Method method,
java.lang.Class<?> type,
long to,
java.util.Map<java.lang.String,java.lang.Object> nonfunc,
jadex.bridge.service.component.ServiceInvocationContext sic) |
java.lang.Class<?> |
determineReturnType(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Determine return type of method.
|
boolean |
equals(java.lang.Object obj)
Test equality.
|
ProxyReference |
getProxyReference()
Get the pr.
|
protected jadex.bridge.ITargetResolver |
getTargetResolver()
Get the target resolver.
|
int |
hashCode()
Hash code.
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invoke a method.
|
boolean |
isSwitchCall()
Check if a switch call should be done.
|
protected static final java.lang.reflect.Method schedulestep
protected static final java.lang.reflect.Method finalize
protected RemoteServiceManagementService rsms
protected ProxyReference pr
protected jadex.bridge.ITargetResolver tr
public RemoteMethodInvocationHandler(RemoteServiceManagementService rsms, ProxyReference pr)
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
protected jadex.commons.future.Future<java.lang.Object> createReturnFuture(jadex.bridge.IComponentIdentifier compid, java.lang.String callid, java.lang.reflect.Method method, java.lang.Class<?> type, long to, java.util.Map<java.lang.String,java.lang.Object> nonfunc, jadex.bridge.service.component.ServiceInvocationContext sic)
public java.lang.Class<?> determineReturnType(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
public ProxyReference getProxyReference()
public boolean isSwitchCall()
isSwitchCall
in interface jadex.bridge.service.component.ISwitchCall
protected jadex.bridge.ITargetResolver getTargetResolver()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object