org.objectweb.jac.aspects.cache
Class CacheWrapper

java.lang.Object
  |
  +--org.objectweb.jac.core.Wrapper
        |
        +--org.objectweb.jac.aspects.cache.CacheWrapper
All Implemented Interfaces:
Advice, ConstructorInterceptor, Interceptor, MethodInterceptor, Serializable

public class CacheWrapper
extends Wrapper

The wrapper of the CacheAC.

See Also:
CacheAC, Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jac.core.Wrapper
ac, cr
 
Constructor Summary
CacheWrapper(AspectComponent ac)
           
CacheWrapper(AspectComponent ac, String stampsName)
           
 
Method Summary
 Object cache(Interaction interaction)
           
 Object construct(ConstructorInvocation invocation)
           
 Object invoke(MethodInvocation invocation)
           
 
Methods inherited from class org.objectweb.jac.core.Wrapper
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheWrapper

public CacheWrapper(AspectComponent ac)

CacheWrapper

public CacheWrapper(AspectComponent ac,
                    String stampsName)
Method Detail

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

cache

public Object cache(Interaction interaction)