org.qi4j.library.cache
Class CacheInvocationResultSideEffect

java.lang.Object
  extended by org.qi4j.api.sideeffect.SideEffectOf<InvocationHandler>
      extended by org.qi4j.api.sideeffect.GenericSideEffect
          extended by org.qi4j.library.cache.CacheInvocationResultSideEffect
All Implemented Interfaces:
InvocationHandler

@AppliesTo(value=Cached.class)
public class CacheInvocationResultSideEffect
extends GenericSideEffect

Cache result of @Cached method calls.


Field Summary
 
Fields inherited from class org.qi4j.api.sideeffect.SideEffectOf
result
 
Constructor Summary
CacheInvocationResultSideEffect()
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
          
 
Methods inherited from class org.qi4j.api.sideeffect.GenericSideEffect
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheInvocationResultSideEffect

public CacheInvocationResultSideEffect()
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Description copied from class: GenericSideEffect

Specified by:
invoke in interface InvocationHandler
Overrides:
invoke in class GenericSideEffect
Throws:
Throwable