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.
- Since:
- 4.0
- Author:
- Manik Surtani (manik@jboss.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorChainFactory
public InterceptorChainFactory()
createInterceptor
public CommandInterceptor createInterceptor(Class<? extends CommandInterceptor> clazz)
throws IllegalAccessException,
InstantiationException
- Throws:
IllegalAccessException
InstantiationException
buildInterceptorChain
public InterceptorChain buildInterceptorChain()
throws IllegalAccessException,
InstantiationException,
ClassNotFoundException
- Throws:
IllegalAccessException
InstantiationException
ClassNotFoundException
construct
public <T> T construct(Class<T> componentType)
- Description copied from class:
AbstractComponentFactory
- Constructs a component.
- Specified by:
construct
in class AbstractComponentFactory
- Parameters:
componentType
- type of component
- Returns:
- a component
getInstance
public static InterceptorChainFactory getInstance(ComponentRegistry componentRegistry,
Configuration configuration)
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.