public class PJProxyFactory
extends javassist.util.proxy.ProxyFactory
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class<?> |
targetClass
Target class to create a proxy
|
| Constructor and Description |
|---|
PJProxyFactory(java.lang.Class<?> targetClass)
Create a new proxy factory for the specified class
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
bindPOPObject(Broker parentBroker,
POPAccessPoint accessPoint,
java.lang.String networkUUID)
Bind an Interface to her parallel object (her associated Broker)
|
java.lang.Object |
newActiveFromBuffer(Combox<?> sourceCombox,
POPBuffer buffer)
Recover a parallel object from the buffer
|
java.lang.Object |
newPOPObject(Broker parentBroker,
java.lang.Object... argvs)
Create a new object from the factory
|
java.lang.Object |
newPOPObject(Broker parentBroker,
ObjectDescription od,
java.lang.Object... argvs)
Create a new object from specific class and object description.
|
create, create, createClass, createClass, getClassLoader, getClassLoader0, getDomain, getHandler, getInterfaces, getKey, getSuperclass, isProxyClass, isUseCache, isUseWriteReplace, setFilter, setHandler, setInterfaces, setSuperclass, setUseCache, setUseWriteReplaceprotected final java.lang.Class<?> targetClass
public PJProxyFactory(java.lang.Class<?> targetClass)
targetClass - : Class to be created by the Factorypublic java.lang.Object newPOPObject(Broker parentBroker, java.lang.Object... argvs) throws POPException
argvs - : arguments to pass trough the constructor of the specific objectPOPException - a remote exception, look for causepublic java.lang.Object newPOPObject(Broker parentBroker, ObjectDescription od, java.lang.Object... argvs) throws POPException
od - : Object description with the resource requirementsargvs - : arguments to pass trough the constructor of the specific objectPOPException - a remote exception, look for causepublic java.lang.Object bindPOPObject(Broker parentBroker, POPAccessPoint accessPoint, java.lang.String networkUUID) throws POPException
accessPoint - : The accesspoint of the brokerPOPException - : if anything goes wrongpublic java.lang.Object newActiveFromBuffer(Combox<?> sourceCombox, POPBuffer buffer) throws POPException
buffer - : buffer from which the object is recoveredPOPException - a remote exception, look for cause