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 invoke(MethodInvocation invocation)
           
 
Methods inherited from class org.objectweb.jac.core.Wrapper
attr, attrdef, construct, 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

cache

public Object cache(Interaction interaction)