|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jac.core.AspectComponent
org.objectweb.jac.aspects.distribution.BroadcastingAC
This aspect component implements a simple broadcasting aspect.
Principles: a broadcaster, located on a given host forwards some calls to a set of replicas located on remote hosts.
BroadcastingConf
,
Serialized FormNested Class Summary | |
class |
BroadcastingAC.BroadcastingWrapper
This wrapper wraps the broadcaster with a wrapping method that broadcast all the calls to the remote replicas. |
Field Summary |
Fields inherited from class org.objectweb.jac.core.AspectComponent |
application, blockKeywords, cr, currentConfigMethod, currentImports, firstCall, NOT_SHARED, SHARED, startWeavingCCount, startWeavingCount, startWeavingMethod, startWeavingType, systemListener, wrappers |
Fields inherited from interface org.objectweb.jac.core.BaseProgramListener |
FOUND_OBJECT |
Constructor Summary | |
BroadcastingAC()
|
Method Summary | |
void |
addBroadcaster(String wrappeeName,
String methods,
String broadcasterHost,
String replicasHost)
This configuration method allows the user to define a broacaster. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BroadcastingAC()
Method Detail |
public void addBroadcaster(String wrappeeName, String methods, String broadcasterHost, String replicasHost)
BroadcastingConf
addBroadcaster
in interface BroadcastingConf
wrappeeName
- the broadcaster object and replicas namesmethods
- a poincut expression that defines the methods
that will be broadcastedbroadcasterHost
- the broadcaster hostreplicasHost
- the hosts of the replicas, as a regexp
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |