| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.factories.InterceptorChainFactory
public class InterceptorChainFactory
Factory class that builds an interceptor chain based on CacheImpl config.
| Method Summary | |
|---|---|
|  java.util.List<Interceptor> | asList(Interceptor interceptor) | 
|  Interceptor | buildInterceptorChain(CacheImpl cache) | 
|  Interceptor | correctInterceptorChaining(java.util.List<Interceptor> interceptors)"Fixes" the next() and last() pointers for each interceptor, based on the order presented in the list passed in | 
| static InterceptorChainFactory | getInstance() | 
|  void | initialiseInterceptors(Interceptor firstInterceptor,
                       CacheSPI cache)Initialises the interceptors with a CacheSPI instance. | 
|  java.lang.String | printInterceptorChain(Interceptor i) | 
|  Interceptor | setLastInterceptorPointer(Interceptor first,
                          Interceptor last) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static InterceptorChainFactory getInstance()
public Interceptor buildInterceptorChain(CacheImpl cache)
                                  throws java.lang.IllegalAccessException,
                                         java.lang.ClassNotFoundException,
                                         java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
public Interceptor setLastInterceptorPointer(Interceptor first,
                                             Interceptor last)
public java.lang.String printInterceptorChain(Interceptor i)
public java.util.List<Interceptor> asList(Interceptor interceptor)
public Interceptor correctInterceptorChaining(java.util.List<Interceptor> interceptors)
interceptors - 
public void initialiseInterceptors(Interceptor firstInterceptor,
                                   CacheSPI cache)
firstInterceptor - interceptor chaincache - cache instance| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||