org.qi4j.library.cache
Class InvalidateCacheOnSettersSideEffect
java.lang.Object
org.qi4j.api.sideeffect.SideEffectOf<InvocationHandler>
org.qi4j.api.sideeffect.GenericSideEffect
org.qi4j.library.cache.InvalidateCacheOnSettersSideEffect
- All Implemented Interfaces:
- InvocationHandler
@AppliesTo(value=InvalidateCacheOnSettersSideEffect.AppliesTo.class)
public class InvalidateCacheOnSettersSideEffect
- extends GenericSideEffect
Invalidate cache on setters.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvalidateCacheOnSettersSideEffect
public InvalidateCacheOnSettersSideEffect()
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 invokedargs
- the arguments of the method invocation