|
eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.6-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.cache.impl.jboss.ExoCacheFactoryImpl
public class ExoCacheFactoryImpl
This class is the JBoss Cache implementation of the ExoCacheFactory
Created by The eXo Platform SAS
Author : eXoPlatform
exo@exoplatform.com
17 juil. 2009
| Field Summary | |
|---|---|
static String |
ALLOW_SHAREABLE_CACHE
Indicate whether the JBoss Cache instance used can be shared with other caches |
static boolean |
ALLOW_SHAREABLE_CACHE_DEFAULT
|
| Constructor Summary | |
|---|---|
ExoCacheFactoryImpl(ExoContainerContext ctx,
InitParams params,
ConfigurationManager configManager)
|
|
| Method Summary | |
|---|---|
void |
addConfig(ExoCacheFactoryConfigPlugin plugin)
Add a list of custom configuration to register |
void |
addCreator(ExoCacheCreatorPlugin plugin)
Add a list of creators to register |
protected void |
cleanConfigurationTemplate(org.jboss.cache.Cache<Serializable,Object> cache,
String region)
Clean the configuration template to prevent conflicts |
ExoCache<Serializable,Object> |
createCache(ExoCacheConfig config)
To create a new cache instance according to the given configuration, we follow the steps below: 1. |
protected ExoCacheCreator |
getExoCacheCreator(ExoCacheConfig config)
Returns the most relevant ExoCacheCreator according to the give configuration |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ALLOW_SHAREABLE_CACHE
public static final boolean ALLOW_SHAREABLE_CACHE_DEFAULT
| Constructor Detail |
|---|
public ExoCacheFactoryImpl(ExoContainerContext ctx,
InitParams params,
ConfigurationManager configManager)
| Method Detail |
|---|
public ExoCache<Serializable,Object> createCache(ExoCacheConfig config)
throws ExoCacheInitException
createCache in interface ExoCacheFactoryExoCacheInitExceptionpublic void addCreator(ExoCacheCreatorPlugin plugin)
plugin - the plugin that contains the creatorspublic void addConfig(ExoCacheFactoryConfigPlugin plugin)
plugin - the plugin that contains the configsprotected ExoCacheCreator getExoCacheCreator(ExoCacheConfig config)
protected void cleanConfigurationTemplate(org.jboss.cache.Cache<Serializable,Object> cache,
String region)
public void start()
start in interface org.picocontainer.StartableStartable.start()public void stop()
stop in interface org.picocontainer.StartableStartable.stop()
|
eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.6-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||