org.objectweb.jac.aspects.synchronization
Class SynchronizationAC.SynchronizationWrapper
java.lang.Object
|
+--org.objectweb.jac.core.Wrapper
|
+--org.objectweb.jac.aspects.synchronization.SynchronizationAC.SynchronizationWrapper
- All Implemented Interfaces:
- Advice, ConstructorInterceptor, Interceptor, MethodInterceptor, Serializable
- Enclosing class:
- SynchronizationAC
- public static class SynchronizationAC.SynchronizationWrapper
- extends Wrapper
This inner wrapper implements the methods synchronization with a
semaphore.
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac, cr |
SynchronizationAC.SynchronizationWrapper
public SynchronizationAC.SynchronizationWrapper(AspectComponent ac)
synchronize
public Object synchronize(Interaction interaction)
invoke
public Object invoke(MethodInvocation invocation)
throws Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Overrides:
invoke
in class Wrapper
Throwable
construct
public Object construct(ConstructorInvocation invocation)
throws Throwable
- Specified by:
construct
in interface ConstructorInterceptor
- Overrides:
construct
in class Wrapper
Throwable