|
||||||||||
| 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
| Constructor Summary | |
|---|---|
ExoCacheFactoryImpl(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.TreeCache cache,
String sRegion)
Clean the configuration template to prevent conflicts |
ExoCache |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExoCacheFactoryImpl(InitParams params,
ConfigurationManager configManager)
| Method Detail |
|---|
public ExoCache createCache(ExoCacheConfig config)
throws ExoCacheInitException
createCache in interface ExoCacheFactoryconfig - the cache to create
ExoCache
ExoCacheInitException - if an exception happens while initializing the cachepublic 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.TreeCache cache,
String sRegion)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||