|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScopeResolver
This interface is used to derive a scope name used to create an instance of ConfigurableCacheFactory
. This scope name is used as a prefix to service names created by the ConfigurableCacheFactory
which enables consumers of the factory to isolate their services and caches from other applications running in the same cluster.
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 |
Method Detail |
---|
java.lang.String resolveScopeName(java.lang.String sConfigURI, java.lang.ClassLoader loader, java.lang.String sScopeName)
sConfigURI
- 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 sConfigURIjava.lang.IllegalArgumentException
- if the requested scope name is rejected (for example if a duplicate scope name is detected)
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |