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,ComponentFactory
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 aAsyncInterceptorChainand aInterceptorChainbefore 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
basicComponentRegistry, 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 Deprecated Methods Modifier and Type Method Description AsyncInterceptorChainbuildInterceptorChain()Objectconstruct(String componentName)static InterceptorChainFactorygetInstance(ComponentRegistry componentRegistry, Configuration configuration)Deprecated.Since 9.4, not used.-
Methods inherited from class org.infinispan.factories.AbstractComponentFactory
assertTypeConstructable, construct
-
-
-
-
Method Detail
-
buildInterceptorChain
public AsyncInterceptorChain buildInterceptorChain()
-
construct
public Object construct(String componentName)
- Specified by:
constructin interfaceComponentFactory- Overrides:
constructin classAbstractComponentFactory- Returns:
- Either a component instance or a
ComponentAliaspointing to another component.
-
getInstance
@Deprecated public static InterceptorChainFactory getInstance(ComponentRegistry componentRegistry, Configuration configuration)
Deprecated.Since 9.4, not used.
-
-