|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.application.ContainerAdapter.DefaultExtendedContext
public static class ContainerAdapter.DefaultExtendedContext
The ContainerAdapter.DefaultContext
represents the context for an application.
Constructor Summary | |
---|---|
ContainerAdapter.DefaultExtendedContext(CacheFactoryBuilder builder, java.lang.ClassLoader loader, java.lang.String sAppName, java.lang.String sCacheConfigURI, ServiceMonitor monitor, java.lang.String sPofConfigURI) Constructor. |
|
ContainerAdapter.DefaultExtendedContext(Context.ExtendedContext extendedContext) Constructor copying from the passed in parameter. |
Method Summary | |
---|---|
java.lang.String |
getApplicationName() Return the name of the application. |
java.lang.String |
getCacheConfigURI() Return the cache configuration URI. |
CacheFactoryBuilder |
getCacheFactoryBuilder() Return the CacheFactoryBuilder in use. |
java.lang.ClassLoader |
getClassLoader() Return the ClassLoader in use. |
java.lang.String |
getPofConfigURI() Return the POF configuration URI. |
ServiceMonitor |
getServiceMonitor() Return the keep alive facility for the application services. |
Constructor Detail |
---|
public ContainerAdapter.DefaultExtendedContext(Context.ExtendedContext extendedContext)
extendedContext
- the Context.ExtendedContext
to copy frompublic ContainerAdapter.DefaultExtendedContext(CacheFactoryBuilder builder, java.lang.ClassLoader loader, java.lang.String sAppName, java.lang.String sCacheConfigURI, ServiceMonitor monitor, java.lang.String sPofConfigURI)
builder
- the CacheFactoryBuilder
to useloader
- the ClassLoader
to usesAppName
- the application name to usesCacheConfigURI
- the cache configuration URImonitor
- the ServiceMonitor
to usesPofConfigURI
- the POF configuration URIMethod Detail |
---|
public CacheFactoryBuilder getCacheFactoryBuilder()
CacheFactoryBuilder
in use.getCacheFactoryBuilder
in interface Context.ExtendedContext
CacheFactoryBuilder
public java.lang.ClassLoader getClassLoader()
ClassLoader
in use.getClassLoader
in interface Context.ExtendedContext
ClassLoader
.public java.lang.String getApplicationName()
getApplicationName
in interface Context.ExtendedContext
public ServiceMonitor getServiceMonitor()
getServiceMonitor
in interface Context.ExtendedContext
ServiceMonitor
public java.lang.String getPofConfigURI()
For advanced use cases, the resource identified by this URI can be found by calling:
ctx.getExtendedContext().getClassLoader().getResource(ctx.getPofConfigUri());
getPofConfigURI
in interface Context.ExtendedContext
public java.lang.String getCacheConfigURI()
getCacheConfigURI
in interface Context.ExtendedContext
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |