public class PJMethodHandler extends Interface implements javassist.util.proxy.MethodHandler
| Modifier and Type | Field and Description |
|---|---|
protected int |
constructorSemanticId
Default semantic of a constructor
|
protected POPObject |
popObjectInfo |
combox, od, parentBroker, popAccessPoint| Constructor and Description |
|---|
PJMethodHandler(Broker parentBroker,
POPObject popObject)
Associate an POPObject with this handler
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
bindObject(POPAccessPoint accesspoint)
Bind the interface-side with the broker-side
|
java.lang.Object |
invoke(java.lang.Object self,
java.lang.reflect.Method m,
java.lang.reflect.Method proceed,
java.lang.Object[] argvs)
Invoke a method on a remote object
|
void |
popConstructor(java.lang.Class<?> targetClass,
java.lang.Object... argvs)
Construct a parallel object
|
void |
setSetup() |
java.lang.String |
toString()
Format a string of this object
|
addRef, allocate, allocateThroughJobmanager, bind, close, decRef, deserialize, deserialize, finalize, getAccessPoint, getAppcoreService, getCodeFile, getOD, getRemote, getRequestID, isAlive, kill, popDispatch, popResponse, release, serialize, setAccessPoint, setOd, tryLocalprotected final int constructorSemanticId
protected POPObject popObjectInfo
public void setSetup()
public void popConstructor(java.lang.Class<?> targetClass,
java.lang.Object... argvs)
throws POPException,
java.lang.NoSuchMethodException
targetClass - Class to be createdargvs - Arguments of the constructorPOPException - Thrown if any problem occurred during the parallel object
creationjava.lang.NoSuchMethodException - Thrown if the constructor is not foundpublic boolean bindObject(POPAccessPoint accesspoint) throws POPException
accesspoint - Access point of the broker-sidePOPException - throw an exception if the binding is not succeedpublic java.lang.Object invoke(java.lang.Object self,
java.lang.reflect.Method m,
java.lang.reflect.Method proceed,
java.lang.Object[] argvs)
throws java.lang.Throwable
invoke in interface javassist.util.proxy.MethodHandlerself - The object to call the methodm - The method to be calledproceed - The method to proceed the callargvs - Arguments of the methodsjava.lang.Throwable - Throw any exception if the method throws any exceptionpublic java.lang.String toString()
toString in class java.lang.Object