public interface Context
ContainerAdapter.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Context.ExtendedContext
Deprecated.
as of 12.2.1, left only for backward compatibility
|
| 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. |
ContainerContext |
getContainerContext()
Return the
ContainerContext associated with the ContainerAdapter. |
Context.ExtendedContext |
getExtendedContext()
Deprecated.
as useless, left for backward compatibility only
|
String |
getPofConfigURI()
Return the POF configuration URI.
|
ServiceMonitor |
getServiceMonitor()
Return the keep-alive facility for the application services.
|
ConfigurableCacheFactory getConfigurableCacheFactory()
ConfigurableCacheFactory. This method will return the same reference as a call to
ctx.getExtendedContext().getCacheFactoryBuilder().
getConfigurableCacheFactory(ctx.getClassLoader());
ConfigurableCacheFactoryCacheFactoryBuilder getCacheFactoryBuilder()
CacheFactoryBuilder in use.CacheFactoryBuilderClassLoader getClassLoader()
ClassLoader in use.ClassLoaderString getApplicationName()
ServiceMonitor getServiceMonitor()
ServiceMonitorString getPofConfigURI()
For advanced use cases, the resource identified by this URI can be found by calling:
ctx.getExtendedContext().getClassLoader().getResource(ctx.getPofConfigUri());
String getCacheConfigURI()
ContainerContext getContainerContext()
ContainerContext associated with the ContainerAdapter.ContainerContext instance or nullContext.ExtendedContext getExtendedContext()