org.qi4j.library.cache
Class ReturnCachedValueConcern

java.lang.Object
  extended by org.qi4j.api.concern.ConcernOf<InvocationHandler>
      extended by org.qi4j.library.cache.ReturnCachedValueConcern
All Implemented Interfaces:
InvocationHandler

@AppliesTo(value=Cached.class)
public class ReturnCachedValueConcern
extends ConcernOf<InvocationHandler>
implements InvocationHandler

Return value of @Cached calls if possible.


Field Summary
 
Fields inherited from class org.qi4j.api.concern.ConcernOf
next
 
Constructor Summary
ReturnCachedValueConcern()
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnCachedValueConcern

public ReturnCachedValueConcern()
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable