org.objectweb.jac.aspects.distribution
Class BroadcastingAC.BroadcastingWrapper
java.lang.Object
org.objectweb.jac.core.Wrapper
org.objectweb.jac.aspects.distribution.BroadcastingAC.BroadcastingWrapper
- All Implemented Interfaces:
- Advice, ConstructorInterceptor, Interceptor, MethodInterceptor, Serializable
- Enclosing class:
- BroadcastingAC
- public class BroadcastingAC.BroadcastingWrapper
- extends Wrapper
This wrapper wraps the broadcaster with a wrapping method that
broadcast all the calls to the remote replicas.
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac, cr |
BroadcastingAC.BroadcastingWrapper
public BroadcastingAC.BroadcastingWrapper(AspectComponent ac,
String hostExpr)
invoke
public Object invoke(MethodInvocation invocation)
throws Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Overrides:
invoke
in class Wrapper
- Throws:
Throwable
construct
public Object construct(ConstructorInvocation invocation)
throws Throwable
- Specified by:
construct
in interface ConstructorInterceptor
- Overrides:
construct
in class Wrapper
- Throws:
Throwable
invalidate
public void invalidate()
broadcast
public Object broadcast(Interaction interaction)
- Performs a broadcasting.