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
The
ExtensibleConfigurableCacheFactory.DefaultDependencies is a simple implementation of
the ExtensibleConfigurableCacheFactory ExtensibleConfigurableCacheFactory.Dependencies
interface.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDependencies(CacheConfig cacheConfig) Constructs aExtensibleConfigurableCacheFactory.DefaultDependencieswith the ContextClassLoaderbeing theClassLoaderof theCacheConfiginstance and an emptyResourceRegistry.DefaultDependencies(CacheConfig cacheConfig, ClassLoader contextClassLoader, ResourceRegistry registry) Constructs aExtensibleConfigurableCacheFactory.DefaultDependencies. -
Method Summary
Modifier and TypeMethodDescriptionObtainsCacheConfigfor anExtensibleConfigurableCacheFactory.Obtains theClassLoaderthan anExtensibleConfigurableCacheFactoryshould use for loading classes.Obtains theResourceRegistryfor anExtensibleConfigurableCacheFactory.
-
Constructor Details
-
DefaultDependencies
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 Details
-
getCacheConfig
ObtainsCacheConfigfor anExtensibleConfigurableCacheFactory.- Specified by:
getCacheConfigin interfaceExtensibleConfigurableCacheFactory.Dependencies- Returns:
- the
CacheConfig
-
getContextClassLoader
Obtains theClassLoaderthan anExtensibleConfigurableCacheFactoryshould use for loading classes.- Specified by:
getContextClassLoaderin interfaceExtensibleConfigurableCacheFactory.Dependencies- Returns:
- the context
ClassLoader
-
getResourceRegistry
Obtains theResourceRegistryfor anExtensibleConfigurableCacheFactory.- Specified by:
getResourceRegistryin interfaceExtensibleConfigurableCacheFactory.Dependencies- Returns:
- the
ResourceRegistry
-