|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.application.ContainerAdapter.ApplicationScopeResolver
public static class ContainerAdapter.ApplicationScopeResolver
The ContainerAdapter.ApplicationScopeResolver is a ScopeResolver typically used to make sure the Coherence Services are scoped to the name passed in the constructor. If a scope already exists, it will not be modified.
| Field Summary | |
|---|---|
protected java.lang.String |
m_sAppNameThe application name to be used if the scope name is empty. |
| Constructor Summary | |
|---|---|
ContainerAdapter.ApplicationScopeResolver(java.lang.String sApplicationName)Constructs an ContainerAdapter.ApplicationScopeResolver with the passed in application name. |
|
| Method Summary | |
|---|---|
java.lang.String |
resolveScopeName(java.lang.String sConfigURI, java.lang.ClassLoader loader, java.lang.String sScopeName)Implementations of this method must decide whether to return the scope name provided by the cache configuration return a modified scope name or return a different scope name based on external configuration throw an exception indicating rejection of the requested scope |
| Field Detail |
|---|
protected java.lang.String m_sAppName
| Constructor Detail |
|---|
public ContainerAdapter.ApplicationScopeResolver(java.lang.String sApplicationName)
ContainerAdapter.ApplicationScopeResolver with the passed in application name.
sApplicationName - the application name to use if scope name is empty| Method Detail |
|---|
public java.lang.String resolveScopeName(java.lang.String sConfigURI,
java.lang.ClassLoader loader,
java.lang.String sScopeName)
resolveScopeName in interface ScopeResolversConfigURI - the configuration URIloader - class loader for which the configuration should be usedsScopeName - the scope name provided in the cache configuration; may be nullConfigurableCacheFactory instance that will be created with the configuration specified by sConfigURI
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||