|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.web.tomcat.service.session.distributedcache.spi.DistributedCacheManagerFactoryFactory
public class DistributedCacheManagerFactoryFactory
Factory for obtaining a DistributedCacheManagerFactory.
Field Summary | |
---|---|
static String |
DEFAULT_CLASS_NAME
Default name of the class that getDistributedCacheManagerFactory()
will try to instantiate if no factory is injected. |
Method Summary | |
---|---|
DistributedCacheManagerFactory |
getDistributedCacheManagerFactory()
Returns the factory, creating one if necessary by loading the factory class and invoking
Class.newInstance() . |
String |
getFactoryClassName()
Gets the class name of the factory; either the name of any existing factory, a class name injected via this property's setter, or DEFAULT_CLASS_NAME . |
static DistributedCacheManagerFactoryFactory |
getInstance()
Gets the singleton instance. |
TomcatClusterDistributedCacheManagerFactory |
getTomcatClusterDistributedCacheManagerFactory(TomcatClusterConfig config)
|
void |
setDistributedCacheManagerFactory(DistributedCacheManagerFactory distributedCacheManagerFactory)
Allows injection of the DistributedCacheManagerFactory. |
void |
setFactoryClassName(String factoryClassName)
Allows injection of the factory class name. |
void |
setTomcatClusterDistributedCacheManagerFactory(TomcatClusterConfig config,
TomcatClusterDistributedCacheManagerFactory factory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_CLASS_NAME
getDistributedCacheManagerFactory()
will try to instantiate if no factory is injected.
Method Detail |
---|
public static final DistributedCacheManagerFactoryFactory getInstance()
public DistributedCacheManagerFactory getDistributedCacheManagerFactory() throws ClusteringNotSupportedException
the factory class
and invoking
Class.newInstance()
.
null
.
ClusteringNotSupportedException
- if there is a problem instantiating a factorypublic void setDistributedCacheManagerFactory(DistributedCacheManagerFactory distributedCacheManagerFactory)
distributedCacheManagerFactory
- the factory.public TomcatClusterDistributedCacheManagerFactory getTomcatClusterDistributedCacheManagerFactory(TomcatClusterConfig config) throws ClusteringNotSupportedException
ClusteringNotSupportedException
public void setTomcatClusterDistributedCacheManagerFactory(TomcatClusterConfig config, TomcatClusterDistributedCacheManagerFactory factory)
public String getFactoryClassName()
DEFAULT_CLASS_NAME
.
null
public void setFactoryClassName(String factoryClassName)
factoryClassName
- Fully qualified name of a class that implements
DistributedCacheManagerFactory
and exposes
a public no-arg constructor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |