Package com.tangosol.net
Class DefaultCacheServer.LifecycleContext
java.lang.Object
com.tangosol.net.DefaultCacheServer.LifecycleContext
- All Implemented Interfaces:
Context
- Enclosing class:
DefaultCacheServer
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.application.Context
Context.ExtendedContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the application.Return the cache configuration URI.Return theCacheFactoryBuilderin use.Return theClassLoaderin use.Return the correspondingConfigurableCacheFactory.Return theContainerContextassociated with the ContainerAdapter.Deprecated.Return the POF configuration URI.Return the keep-alive facility for the application services.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.application.Context
getDefaultScope, getNamedSerializer
-
Constructor Details
-
LifecycleContext
protected LifecycleContext()
-
-
Method Details
-
getConfigurableCacheFactory
Description copied from interface:ContextReturn the correspondingConfigurableCacheFactory. This method will return the same reference as a call toctx.getExtendedContext().getCacheFactoryBuilder(). getConfigurableCacheFactory(ctx.getClassLoader());- Specified by:
getConfigurableCacheFactoryin interfaceContext- Returns:
- the
ConfigurableCacheFactory
-
getCacheFactoryBuilder
Description copied from interface:ContextReturn theCacheFactoryBuilderin use.- Specified by:
getCacheFactoryBuilderin interfaceContext- Returns:
- the
CacheFactoryBuilder
-
getClassLoader
Description copied from interface:ContextReturn theClassLoaderin use.- Specified by:
getClassLoaderin interfaceContext- Returns:
- the
ClassLoader
-
getApplicationName
Description copied from interface:ContextReturn the name of the application.- Specified by:
getApplicationNamein interfaceContext- Returns:
- the name of the application
-
getServiceMonitor
Description copied from interface:ContextReturn the keep-alive facility for the application services.- Specified by:
getServiceMonitorin interfaceContext- Returns:
- the
ServiceMonitor
-
getPofConfigURI
Description copied from interface:ContextReturn the POF configuration URI.For advanced use cases, the resource identified by this URI can be found by calling:
ctx.getExtendedContext().getClassLoader().getResource(ctx.getPofConfigUri());- Specified by:
getPofConfigURIin interfaceContext- Returns:
- the POF configuration URI
-
getCacheConfigURI
Description copied from interface:ContextReturn the cache configuration URI.- Specified by:
getCacheConfigURIin interfaceContext- Returns:
- the cache configuration URI
-
getContainerContext
Description copied from interface:ContextReturn theContainerContextassociated with the ContainerAdapter.- Specified by:
getContainerContextin interfaceContext- Returns:
- the
ContainerContextinstance or null
-
getExtendedContext
Deprecated.- Specified by:
getExtendedContextin interfaceContext- Returns:
- the
Context.ExtendedContext
-