org.objectweb.jac.aspects.distribution
Class RemoteAccessAC
java.lang.Object
org.objectweb.jac.core.AspectComponent
org.objectweb.jac.aspects.distribution.RemoteAccessAC
- All Implemented Interfaces:
- BaseProgramListener, RemoteAccessConf, Serializable
- public class RemoteAccessAC
- extends AspectComponent
- implements RemoteAccessConf
This aspect component implements a remote access aspect.
On contrary to the deployement AC, JAC do not have to be lauched
in a distributed mode and the server host do not have to be
registered in the topology. Hence, this aspect allows a JAC
container to bind to a different namespace/aspect-space in a
client/server mode.
- Author:
- Renaud Pawlak
- See Also:
RemoteAccessConf
,
DeploymentRule
,
Serialized Form
Fields inherited from class org.objectweb.jac.core.AspectComponent |
application, blockKeywords, cr, currentConfigMethod, currentImports, firstCall, NOT_SHARED, SHARED, startWeavingCCount, startWeavingCount, startWeavingMethod, startWeavingType, systemListener, wrappers |
Methods inherited from class org.objectweb.jac.core.AspectComponent |
addWrapper, afterApplicationStarted, afterRunningWrapper, afterWrap, afterWrappeeInit, attr, attrdef, beforeConfiguration, beforeReload, beforeRunningWrapper, beforeWrappeeInit, configure, defines, defineTimer, doRegister, doUnregister, error, getAC, getApplication, getBlockKeywords, getConfigurationMethods, getConfigurationMethodsName, getConfigurationMethodsName, getDefaultConfigs, getName, getNameCounters, getWrappers, init, isConfigurationMethod, isSystemListener, onExit, pointcut, pointcut, pointcut, pointcut, pointcut, pointcut, pointcut, pointcut, setApplication, setAttribute, setAttribute, setAttribute, setSystemListener, simulateUsingNewInstance, unweave, unwrapAll, updateNameCounters, warning, weave, whenClone, whenCloseDisplay, whenConfigured, whenDeleted, whenDeserialized, whenFree, whenGetObjects, whenNameObject, whenObjectMiss, whenReload, whenRemoteInstantiation, whenSerialized, whenTopologyChanged, whenUsingNewClass, whenUsingNewInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteAccessAC
public RemoteAccessAC()
whenSerialized
public void whenSerialized(SerializedJacObject finalObject)
whenDeserialized
public void whenDeserialized(SerializedJacObject orgObject)
- Fill the field values when the forwarding is disabled for this
object..
- Parameters:
orgObject
- the JAC object that is being deserialized.
whenCreatingRemoteAccess
public void whenCreatingRemoteAccess(Wrappee wrappee,
String serverHost)
createRemoteAccess
public void createRemoteAccess(String nameExpr,
String classExpr,
String methodExpr,
String serverHost)
- Description copied from interface:
RemoteAccessConf
- This conficuration method creates remote-access stubs for the
objects matching names and classes on a server host.
- Specified by:
createRemoteAccess
in interface RemoteAccessConf
- Parameters:
nameExpr
- an object pointcut expressionclassExpr
- an class pointcut expressionserverHost
- the server where are located the server
objects