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.DefaultDependencies
is a simple implementation of theExtensibleConfigurableCacheFactory
ExtensibleConfigurableCacheFactory.Dependencies
interface.
-
-
Constructor Summary
Constructors Constructor Description DefaultDependencies(CacheConfig cacheConfig)
Constructs aExtensibleConfigurableCacheFactory.DefaultDependencies
with the ContextClassLoader
being theClassLoader
of theCacheConfig
instance 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 CacheConfig
getCacheConfig()
ObtainsCacheConfig
for anExtensibleConfigurableCacheFactory
.ClassLoader
getContextClassLoader()
Obtains theClassLoader
than anExtensibleConfigurableCacheFactory
should use for loading classes.ResourceRegistry
getResourceRegistry()
Obtains theResourceRegistry
for anExtensibleConfigurableCacheFactory
.
-
-
-
Constructor Detail
-
DefaultDependencies
public DefaultDependencies(CacheConfig cacheConfig)
Constructs aExtensibleConfigurableCacheFactory.DefaultDependencies
with the ContextClassLoader
being theClassLoader
of theCacheConfig
instance and an emptyResourceRegistry
.- Parameters:
cacheConfig
- theCacheConfig
-
DefaultDependencies
public DefaultDependencies(CacheConfig cacheConfig, ClassLoader contextClassLoader, ResourceRegistry registry)
Constructs aExtensibleConfigurableCacheFactory.DefaultDependencies
.- Parameters:
cacheConfig
- theCacheConfig
contextClassLoader
- theClassLoader
registry
- theResourceRegistry
-
-
Method Detail
-
getCacheConfig
public CacheConfig getCacheConfig()
ObtainsCacheConfig
for anExtensibleConfigurableCacheFactory
.- Specified by:
getCacheConfig
in interfaceExtensibleConfigurableCacheFactory.Dependencies
- Returns:
- the
CacheConfig
-
getContextClassLoader
public ClassLoader getContextClassLoader()
Obtains theClassLoader
than anExtensibleConfigurableCacheFactory
should use for loading classes.- Specified by:
getContextClassLoader
in interfaceExtensibleConfigurableCacheFactory.Dependencies
- Returns:
- the context
ClassLoader
-
getResourceRegistry
public ResourceRegistry getResourceRegistry()
Obtains theResourceRegistry
for anExtensibleConfigurableCacheFactory
.- Specified by:
getResourceRegistry
in interfaceExtensibleConfigurableCacheFactory.Dependencies
- Returns:
- the
ResourceRegistry
-
-