org.jboss.cache.factories
Class InterceptorChainFactory
java.lang.Object
org.jboss.cache.factories.ComponentFactory
org.jboss.cache.factories.InterceptorChainFactory
public class InterceptorChainFactory
- extends ComponentFactory
Factory class that builds an interceptor chain based on cache configuration.
- 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()
getInstance
@Deprecated
public static InterceptorChainFactory getInstance()
- Deprecated.
- Note - this method used to return a singleton instance, and since 2.1.0 returns a new instance. The method is
deprecated and you should use the no-arg constructor to create a new instance of this factory.
- Returns:
- a NEW instance of this class.
buildInterceptorChain
public InterceptorChain buildInterceptorChain()
throws IllegalAccessException,
InstantiationException,
ClassNotFoundException
- Throws:
IllegalAccessException
InstantiationException
ClassNotFoundException
construct
protected <T> T construct(Class<T> componentType)
- Description copied from class:
ComponentFactory
- Constructs a component.
- Specified by:
construct
in class ComponentFactory
- Parameters:
componentType
- type of component
- Returns:
- a component
getInstance
public static InterceptorChainFactory getInstance(ComponentRegistry componentRegistry,
Configuration configuration)
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.