Package org.infinispan.factories
Class InterceptorChainFactory
- java.lang.Object
-
- org.infinispan.factories.AbstractComponentFactory
-
- org.infinispan.factories.AbstractNamedCacheComponentFactory
-
- org.infinispan.factories.InterceptorChainFactory
-
- All Implemented Interfaces:
AutoInstantiableFactory
public class InterceptorChainFactory extends AbstractNamedCacheComponentFactory implements AutoInstantiableFactory
Factory class that builds an interceptor chain based on cache configuration. For backwards compatibility, the factory will register both aAsyncInterceptorChain
and aInterceptorChain
before initializing the interceptors.- Since:
- 4.0
- Author:
- Manik Surtani (manik@jboss.org), Mircea.Markus@jboss.com, Marko Luksa, Pedro Ruivo
-
-
Field Summary
-
Fields inherited from class org.infinispan.factories.AbstractNamedCacheComponentFactory
componentRegistry, configuration
-
Fields inherited from class org.infinispan.factories.AbstractComponentFactory
globalComponentRegistry, globalConfiguration
-
-
Constructor Summary
Constructors Constructor Description InterceptorChainFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncInterceptorChain
buildInterceptorChain()
<T> T
construct(Class<T> componentType)
Constructs a component.static InterceptorChainFactory
getInstance(ComponentRegistry componentRegistry, Configuration configuration)
-
Methods inherited from class org.infinispan.factories.AbstractComponentFactory
assertTypeConstructable
-
-
-
-
Method Detail
-
buildInterceptorChain
public AsyncInterceptorChain buildInterceptorChain()
-
construct
public <T> T construct(Class<T> componentType)
Description copied from class:AbstractComponentFactory
Constructs a component.- Specified by:
construct
in classAbstractComponentFactory
- Parameters:
componentType
- type of component- Returns:
- a component
-
getInstance
public static InterceptorChainFactory getInstance(ComponentRegistry componentRegistry, Configuration configuration)
-
-