protected class ContainerAdapter.ContainerCacheFactoryBuilder extends ScopedCacheFactoryBuilder
ConfigurableCacheFactory
 instance using the knowledge from this ContainerAdapter instance.
 This builder is used exclusively by the ContainerAdapter.SessionProvider.Option| Modifier and Type | Field and Description | 
|---|---|
protected CacheFactoryBuilder | 
m_cfbDelegate
The  
CacheFactoryBuilder to be informed of any
 ConfigurableCacheFactory instances created. | 
m_mapByLoader, m_mapConfigByLoader, m_scopeResolver, URI_DEFAULT| Constructor and Description | 
|---|
ContainerCacheFactoryBuilder(CacheFactoryBuilder cfb)
Construct a ContainerCacheFactoryBuilder instance with the provided
  
CacheFactoryBuilder which is informed of any
 ConfigurableCacheFactory instances created. | 
| Modifier and Type | Method and Description | 
|---|---|
protected ConfigurableCacheFactory | 
buildFactory(String sConfigURI,
            ClassLoader loader)
Construct and configure a  
ConfigurableCacheFactory for the specified
 cache config URI and ClassLoader. | 
void | 
release(ConfigurableCacheFactory factory)
Release the specified ConfigurableCacheFactory. 
 | 
void | 
release(ConfigurableCacheFactory factory,
       boolean fShutdown)
Release the specified ConfigurableCacheFactory, optionally calling
  
dispose based on fShutdown value. | 
void | 
releaseAll(ClassLoader loader)
Release all ConfigurableCacheFactory objects for a given ClassLoader. 
 | 
ConfigurableCacheFactory | 
setConfigurableCacheFactory(ConfigurableCacheFactory ccf,
                           String sConfigURI,
                           ClassLoader loader,
                           boolean fReplace)
Dynamically set the  
ConfigurableCacheFactory for a given URI
 and class loader. | 
protected ConfigurableCacheFactory | 
setDefaultConfigurableCacheFactory(ConfigurableCacheFactory ccf,
                                  ClassLoader loader)
Dynamically set the  
ConfigurableCacheFactory for the default
 URI and class loader, iff absent. | 
ensureConfigCCFMap, ensureConfigMap, getConfigurableCacheFactory, getConfigurableCacheFactory, getConfigurableCacheFactoryConfig, getFactory, getScopeResolver, getXmlConfig, instantiateFactory, loadConfigFromURI, resolveURI, resolveURL, setCacheConfiguration, setCacheConfiguration, setXmlConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSessiongetprotected CacheFactoryBuilder m_cfbDelegate
CacheFactoryBuilder to be informed of any
 ConfigurableCacheFactory instances created.public ContainerCacheFactoryBuilder(CacheFactoryBuilder cfb)
CacheFactoryBuilder which is informed of any
 ConfigurableCacheFactory instances created.cfb - a CacheFactoryBuilder to be informed of any
             ConfigurableCacheFactory instances createdpublic void release(ConfigurableCacheFactory factory)
release in interface CacheFactoryBuilderrelease in class ScopedCacheFactoryBuilderfactory - the ConfigurableCacheFactory to releasepublic void releaseAll(ClassLoader loader)
releaseAll in interface CacheFactoryBuilderreleaseAll in class ScopedCacheFactoryBuilderloader - the class loader for which all associated cache factories
                should be releasedprotected ConfigurableCacheFactory buildFactory(String sConfigURI, ClassLoader loader)
ConfigurableCacheFactory for the specified
 cache config URI and ClassLoader.buildFactory in class ScopedCacheFactoryBuildersConfigURI - the URI to the cache configurationloader - the ClassLoader associated with the factorypublic ConfigurableCacheFactory setConfigurableCacheFactory(ConfigurableCacheFactory ccf, String sConfigURI, 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.setConfigurableCacheFactory in interface CacheFactoryBuildersetConfigurableCacheFactory in class ScopedCacheFactoryBuilderccf - 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 registeredpublic void release(ConfigurableCacheFactory factory, boolean fShutdown)
dispose based on fShutdown value.factory - the ConfigurableCacheFactory to releasefShutdown - whether to call dispose on the ConfigurableCacheFactoryprotected ConfigurableCacheFactory setDefaultConfigurableCacheFactory(ConfigurableCacheFactory ccf, ClassLoader loader)
ConfigurableCacheFactory for the default
 URI and class loader, iff absent.ccf - the ConfigurableCacheFactory instanceloader - the ClassLoader the ConfigurableCacheFactory
               is linked against