org.jboss.cache.interceptors
Class CallInterceptor

java.lang.Object
  extended byorg.jboss.cache.interceptors.Interceptor (src) 
      extended byorg.jboss.cache.interceptors.CallInterceptor

public class CallInterceptor
extends Interceptor (src)

Always at the end of the chain, directly in front of the cache. Simply calls into the cache using reflection. If the call resulted in a modification, add the Modification to the end of the modification list keyed by the current transaction


Constructor Summary
CallInterceptor()
           
 
Method Summary
 java.lang.Object invoke(MethodCall m)
           
 void setCache(TreeCache (src)  cache)
           
 
Methods inherited from class org.jboss.cache.interceptors.Interceptor (src)
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallInterceptor

public CallInterceptor()
Method Detail

setCache

public void setCache(TreeCache (src)  cache)
Overrides:
setCache in class Interceptor (src)

invoke

public java.lang.Object invoke(MethodCall m)
                        throws java.lang.Throwable
Overrides:
invoke in class Interceptor (src)
Throws:
java.lang.Throwable