org.qi4j.library.cache
Class InvalidateCacheOnSettersSideEffect

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

@AppliesTo(value=InvalidateCacheOnSettersSideEffect.AppliesTo.class)
public class InvalidateCacheOnSettersSideEffect
extends GenericSideEffect

Invalidate cache on setters.


Nested Class Summary
static class InvalidateCacheOnSettersSideEffect.AppliesTo
           
 
Field Summary
 
Fields inherited from class org.qi4j.api.sideeffect.SideEffectOf
result
 
Constructor Summary
InvalidateCacheOnSettersSideEffect()
           
 
Method Summary
protected  void invoke(Method method, Object[] args)
          Convenience method to be overridden by subclasses in order to avoid returning null, as returned value from side effects is not taken in consideration.
 
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

InvalidateCacheOnSettersSideEffect

public InvalidateCacheOnSettersSideEffect()
Method Detail

invoke

protected void invoke(Method method,
                      Object[] args)
Description copied from class: GenericSideEffect
Convenience method to be overridden by subclasses in order to avoid returning null, as returned value from side effects is not taken in consideration.

Overrides:
invoke in class GenericSideEffect
Parameters:
method - the method that was invoked
args - the arguments of the method invocation