public class InfinispanActiveCollectionFactory extends ActiveCollectionFactory
DEFAULT_FACTORY
Constructor and Description |
---|
InfinispanActiveCollectionFactory() |
Modifier and Type | Method and Description |
---|---|
ActiveCollection |
createActiveCollection(ActiveCollectionSource acs)
This method creates an active collection based on the supplied source.
|
String |
getCache()
This method returns the cache name.
|
String |
getContainer()
This method returns the JNDI name used to obtain
the container resource.
|
void |
setCache(String cache)
This method sets the cache name.
|
void |
setContainer(String jndiName)
This method sets the JNDI name for the container resource.
|
public void setContainer(String jndiName)
jndiName
- The JNDI name for the container resourcepublic String getContainer()
public String getCache()
public void setCache(String cache)
cache
- The cache namepublic ActiveCollection createActiveCollection(ActiveCollectionSource acs)
createActiveCollection
in class ActiveCollectionFactory
acs
- The sourceCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.