|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface CacheFactoryBuilder
CacheFactoryBuilder provides the means for building and managing configurable cache factories across class loaders in a pluggable fashion.
This is an advanced facility that could be used within J2EE or OSGi containers to provide a class loader based application isolation.
| Method Summary | |
|---|---|
ConfigurableCacheFactory |
getConfigurableCacheFactory(java.lang.ClassLoader loader)Return the default ConfigurableCacheFactory for a given class loader. |
ConfigurableCacheFactory |
getConfigurableCacheFactory(java.lang.String sConfigURI, java.lang.ClassLoader loader)Return the ConfigurableCacheFactory for a given URI and class loader. |
void |
release(ConfigurableCacheFactory factory)Release the specified ConfigurableCacheFactory. |
void |
releaseAll(java.lang.ClassLoader loader)Release all ConfigurableCacheFactory objects for a given ClassLoader. |
void |
setCacheConfiguration(java.lang.ClassLoader loader, XmlElement xmlConfig)Dynamically set the default cache configuration for a given class loader. |
void |
setCacheConfiguration(java.lang.String sConfigURI, java.lang.ClassLoader loader, XmlElement xmlConfig)Dynamically set the cache configuration for a given URI and class loader. |
ConfigurableCacheFactory |
setConfigurableCacheFactory(ConfigurableCacheFactory ccf, java.lang.String sConfigURI, java.lang.ClassLoader loader, boolean fReplace)Dynamically set the ConfigurableCacheFactory for a given URI and class loader. |
| Method Detail |
|---|
ConfigurableCacheFactory getConfigurableCacheFactory(java.lang.ClassLoader loader)
loader - class loader for which the configuration should be used; must not be null
ConfigurableCacheFactory getConfigurableCacheFactory(java.lang.String sConfigURI,
java.lang.ClassLoader loader)
sConfigURI - the configuration URI; must not be nullloader - class loader for which the configuration should be used; must not be null
void setCacheConfiguration(java.lang.ClassLoader loader,
XmlElement xmlConfig)
loader - class loader for which the configuration should be used; must not be nullxmlConfig - cache configuration in xml element format
void setCacheConfiguration(java.lang.String sConfigURI,
java.lang.ClassLoader loader,
XmlElement xmlConfig)
sConfigURI - the configuration URI; must not be nullloader - class loader for which the configuration should be used; must not be nullxmlConfig - cache configuration in xml element format
ConfigurableCacheFactory setConfigurableCacheFactory(ConfigurableCacheFactory ccf,
java.lang.String sConfigURI,
java.lang.ClassLoader loader,
boolean fReplace)
ConfigurableCacheFactory for a given URI and class loader. If a ConfigurableCacheFactory for the given URI and class loader already exists and the replacement is requested, the factory will be released.ccf - the ConfigurableCacheFactory instancesConfigURI - the configuration URI; must not be nullloader - class loader for which the configuration should be used; must not be nullfReplace - specifies whether to replace a ConfigurableCacheFactory if one is already registeredvoid releaseAll(java.lang.ClassLoader loader)
loader - the class loader for which all associated cache factories should be releasedvoid release(ConfigurableCacheFactory factory)
factory - the ConfigurableCacheFactory to release
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||