Package com.tangosol.net
Class DefaultCacheServer.LifecycleContext
java.lang.Object
com.tangosol.net.DefaultCacheServer.LifecycleContext
- All Implemented Interfaces:
com.tangosol.application.Context
- Enclosing class:
DefaultCacheServer
protected class DefaultCacheServer.LifecycleContext
extends Object
implements com.tangosol.application.Context
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.application.Context
com.tangosol.application.Context.ExtendedContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the application.Return the cache configuration URI.Return theCacheFactoryBuilder
in use.Return theClassLoader
in use.Return the correspondingConfigurableCacheFactory
.com.tangosol.application.ContainerContext
Return theContainerContext
associated with the ContainerAdapter.com.tangosol.application.Context.ExtendedContext
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, wait
Methods inherited from interface com.tangosol.application.Context
getDefaultScope, getNamedSerializer
-
Constructor Details
-
LifecycleContext
protected LifecycleContext()
-
-
Method Details
-
getConfigurableCacheFactory
Description copied from interface:com.tangosol.application.Context
Return the correspondingConfigurableCacheFactory
. This method will return the same reference as a call toctx.getExtendedContext().getCacheFactoryBuilder(). getConfigurableCacheFactory(ctx.getClassLoader());
- Specified by:
getConfigurableCacheFactory
in interfacecom.tangosol.application.Context
- Returns:
- the
ConfigurableCacheFactory
-
getCacheFactoryBuilder
Description copied from interface:com.tangosol.application.Context
Return theCacheFactoryBuilder
in use.- Specified by:
getCacheFactoryBuilder
in interfacecom.tangosol.application.Context
- Returns:
- the
CacheFactoryBuilder
-
getClassLoader
Description copied from interface:com.tangosol.application.Context
Return theClassLoader
in use.- Specified by:
getClassLoader
in interfacecom.tangosol.application.Context
- Returns:
- the
ClassLoader
-
getApplicationName
Description copied from interface:com.tangosol.application.Context
Return the name of the application.- Specified by:
getApplicationName
in interfacecom.tangosol.application.Context
- Returns:
- the name of the application
-
getServiceMonitor
Description copied from interface:com.tangosol.application.Context
Return the keep-alive facility for the application services.- Specified by:
getServiceMonitor
in interfacecom.tangosol.application.Context
- Returns:
- the
ServiceMonitor
-
getPofConfigURI
Description copied from interface:com.tangosol.application.Context
Return 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:
getPofConfigURI
in interfacecom.tangosol.application.Context
- Returns:
- the POF configuration URI
-
getCacheConfigURI
Description copied from interface:com.tangosol.application.Context
Return the cache configuration URI.- Specified by:
getCacheConfigURI
in interfacecom.tangosol.application.Context
- Returns:
- the cache configuration URI
-
getContainerContext
public com.tangosol.application.ContainerContext getContainerContext()Description copied from interface:com.tangosol.application.Context
Return theContainerContext
associated with the ContainerAdapter.- Specified by:
getContainerContext
in interfacecom.tangosol.application.Context
- Returns:
- the
ContainerContext
instance or null
-
getExtendedContext
Deprecated.- Specified by:
getExtendedContext
in interfacecom.tangosol.application.Context
- Returns:
- the
Context.ExtendedContext
-