Package com.tangosol.net
Class ExtensibleConfigurableCacheFactory.DefaultDependencies
- java.lang.Object
 - 
- com.tangosol.net.ExtensibleConfigurableCacheFactory.DefaultDependencies
 
 
- 
- All Implemented Interfaces:
 ExtensibleConfigurableCacheFactory.Dependencies
- Enclosing class:
 - ExtensibleConfigurableCacheFactory
 
public static class ExtensibleConfigurableCacheFactory.DefaultDependencies extends Object implements ExtensibleConfigurableCacheFactory.Dependencies
TheExtensibleConfigurableCacheFactory.DefaultDependenciesis a simple implementation of theExtensibleConfigurableCacheFactoryExtensibleConfigurableCacheFactory.Dependenciesinterface. 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultDependencies(CacheConfig cacheConfig)Constructs aExtensibleConfigurableCacheFactory.DefaultDependencieswith the ContextClassLoaderbeing theClassLoaderof theCacheConfiginstance and an emptyResourceRegistry.DefaultDependencies(CacheConfig cacheConfig, ClassLoader contextClassLoader, ResourceRegistry registry)Constructs aExtensibleConfigurableCacheFactory.DefaultDependencies. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheConfiggetCacheConfig()ObtainsCacheConfigfor anExtensibleConfigurableCacheFactory.ClassLoadergetContextClassLoader()Obtains theClassLoaderthan anExtensibleConfigurableCacheFactoryshould use for loading classes.ResourceRegistrygetResourceRegistry()Obtains theResourceRegistryfor anExtensibleConfigurableCacheFactory. 
 - 
 
- 
- 
Constructor Detail
- 
DefaultDependencies
public DefaultDependencies(CacheConfig cacheConfig)
Constructs aExtensibleConfigurableCacheFactory.DefaultDependencieswith the ContextClassLoaderbeing theClassLoaderof theCacheConfiginstance and an emptyResourceRegistry.- Parameters:
 cacheConfig- theCacheConfig
 
- 
DefaultDependencies
public DefaultDependencies(CacheConfig cacheConfig, ClassLoader contextClassLoader, ResourceRegistry registry)
Constructs aExtensibleConfigurableCacheFactory.DefaultDependencies.- Parameters:
 cacheConfig- theCacheConfigcontextClassLoader- theClassLoaderregistry- theResourceRegistry
 
 - 
 
- 
Method Detail
- 
getCacheConfig
public CacheConfig getCacheConfig()
ObtainsCacheConfigfor anExtensibleConfigurableCacheFactory.- Specified by:
 getCacheConfigin interfaceExtensibleConfigurableCacheFactory.Dependencies- Returns:
 - the 
CacheConfig 
 
- 
getContextClassLoader
public ClassLoader getContextClassLoader()
Obtains theClassLoaderthan anExtensibleConfigurableCacheFactoryshould use for loading classes.- Specified by:
 getContextClassLoaderin interfaceExtensibleConfigurableCacheFactory.Dependencies- Returns:
 - the context 
ClassLoader 
 
- 
getResourceRegistry
public ResourceRegistry getResourceRegistry()
Obtains theResourceRegistryfor anExtensibleConfigurableCacheFactory.- Specified by:
 getResourceRegistryin interfaceExtensibleConfigurableCacheFactory.Dependencies- Returns:
 - the 
ResourceRegistry 
 
 - 
 
 -