org.jboss.cache.interceptors
Class CallInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.CallInterceptor
- All Implemented Interfaces:
- InterceptorMBean
public class CallInterceptor
- extends Interceptor
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.
Although always added to the end of an optimistically locked chain as well, calls should not make it down to
this interceptor unless it is a call the OptimisticNodeInterceptor knows nothing about.
- Version:
- $Id: CallInterceptor.java,v 1.18 2007/05/23 15:22:03 msurtani Exp $
- Author:
- Bela Ban
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
dumpStatistics, getLast, getNext, getStatisticsEnabled, isActive, isOnePhaseCommitPrepareMehod, isPreparing, isValid, resetStatistics, setLast, setNext, setStatisticsEnabled, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CallInterceptor
public CallInterceptor()
setCache
public void setCache(CacheSPI cache)
- Overrides:
setCache
in class Interceptor
setTreeCacheInstance
public void setTreeCacheInstance(CacheImpl c)
invoke
public java.lang.Object invoke(InvocationContext ctx)
throws java.lang.Throwable
- Overrides:
invoke
in class Interceptor
- Throws:
java.lang.Throwable