protected class DefaultCacheServer.LifecycleContext extends Object implements com.tangosol.application.Context
| Modifier | Constructor and Description |
|---|---|
protected |
LifecycleContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName()
Return the name of the application.
|
String |
getCacheConfigURI()
Return the cache configuration URI.
|
CacheFactoryBuilder |
getCacheFactoryBuilder()
Return the
CacheFactoryBuilder in use. |
ClassLoader |
getClassLoader()
Return the
ClassLoader in use. |
ConfigurableCacheFactory |
getConfigurableCacheFactory()
Return the corresponding
ConfigurableCacheFactory. |
com.tangosol.application.ContainerContext |
getContainerContext()
Return the
ContainerContext associated with the ContainerAdapter. |
com.tangosol.application.Context.ExtendedContext |
getExtendedContext() |
String |
getPofConfigURI()
Return the POF configuration URI.
|
ServiceMonitor |
getServiceMonitor()
Return the keep-alive facility for the application services.
|
public ConfigurableCacheFactory getConfigurableCacheFactory()
com.tangosol.application.ContextConfigurableCacheFactory. This method
will return the same reference as a call to
ctx.getExtendedContext().getCacheFactoryBuilder().
getConfigurableCacheFactory(ctx.getClassLoader());
getConfigurableCacheFactory in interface com.tangosol.application.ContextConfigurableCacheFactorypublic CacheFactoryBuilder getCacheFactoryBuilder()
com.tangosol.application.ContextCacheFactoryBuilder in use.getCacheFactoryBuilder in interface com.tangosol.application.ContextCacheFactoryBuilderpublic ClassLoader getClassLoader()
com.tangosol.application.ContextClassLoader in use.getClassLoader in interface com.tangosol.application.ContextClassLoaderpublic String getApplicationName()
com.tangosol.application.ContextgetApplicationName in interface com.tangosol.application.Contextpublic ServiceMonitor getServiceMonitor()
com.tangosol.application.ContextgetServiceMonitor in interface com.tangosol.application.ContextServiceMonitorpublic String getPofConfigURI()
com.tangosol.application.ContextFor advanced use cases, the resource identified by this URI can be found by calling:
ctx.getExtendedContext().getClassLoader().getResource(ctx.getPofConfigUri());
getPofConfigURI in interface com.tangosol.application.Contextpublic String getCacheConfigURI()
com.tangosol.application.ContextgetCacheConfigURI in interface com.tangosol.application.Contextpublic com.tangosol.application.ContainerContext getContainerContext()
com.tangosol.application.ContextContainerContext associated with the ContainerAdapter.getContainerContext in interface com.tangosol.application.ContextContainerContext instance or nullpublic com.tangosol.application.Context.ExtendedContext getExtendedContext()
getExtendedContext in interface com.tangosol.application.ContextContext.ExtendedContext