org.jboss.cache.interceptors
Class Interceptor

java.lang.Object
  extended byorg.jboss.cache.interceptors.Interceptor
Direct Known Subclasses:
CacheLoaderInterceptor (src) , CacheStoreInterceptor (src) , CallInterceptor (src) , CreateIfNotExistsInterceptor (src) , LockInterceptor (src) , ReplicationInterceptor (src) , UnlockInterceptor (src)

public abstract class Interceptor
extends java.lang.Object

Class representing an interceptor. Note that this will be replaced by org.jboss.aop.advice.Interceptor in one of the next releases


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

Constructor Detail

Interceptor

public Interceptor()
Method Detail

setNext

public void setNext(Interceptor (src)  i)

getNext

public Interceptor (src)  getNext()

setCache

public void setCache(TreeCache (src)  cache)

invoke

public java.lang.Object invoke(MethodCall m)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable