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
ConstructorDescriptionDefaultDependencies
(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
Modifier and TypeMethodDescriptionObtainsCacheConfig
for anExtensibleConfigurableCacheFactory
.Obtains theClassLoader
than anExtensibleConfigurableCacheFactory
should use for loading classes.Obtains theResourceRegistry
for anExtensibleConfigurableCacheFactory
.
-
Constructor Details
-
DefaultDependencies
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 Details
-
getCacheConfig
ObtainsCacheConfig
for anExtensibleConfigurableCacheFactory
.- Specified by:
getCacheConfig
in interfaceExtensibleConfigurableCacheFactory.Dependencies
- Returns:
- the
CacheConfig
-
getContextClassLoader
Obtains theClassLoader
than anExtensibleConfigurableCacheFactory
should use for loading classes.- Specified by:
getContextClassLoader
in interfaceExtensibleConfigurableCacheFactory.Dependencies
- Returns:
- the context
ClassLoader
-
getResourceRegistry
Obtains theResourceRegistry
for anExtensibleConfigurableCacheFactory
.- Specified by:
getResourceRegistry
in interfaceExtensibleConfigurableCacheFactory.Dependencies
- Returns:
- the
ResourceRegistry
-