|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oracle.coherence.patterns.command.DefaultContextsManager
public class DefaultContextsManager
The default implementation of a ContextsManager.
Copyright (c) 2008. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
ContextsManager| Constructor Summary | |
|---|---|
DefaultContextsManager()
Standard Constructor |
|
| Method Summary | |
|---|---|
Object |
extractValueFromContext(Identifier identifier,
com.tangosol.util.ValueExtractor valueExtractor)
Extracts a value from the most recently updated version of the Context with the provided ValueExtractor. |
Context |
getContext(Identifier identifier)
Returns the most recent updated version of the Context with the
specified Identifier. |
static ContextsManager |
getInstance()
Returns an instance of the DefaultContextsManager. |
Identifier |
registerContext(Context context)
Registers a Context using a DefaultContextConfiguration. |
Identifier |
registerContext(Context context,
ContextConfiguration contextConfiguration)
Registers a Context with a specified ContextConfiguration. |
Identifier |
registerContext(Identifier contextIdentifier,
Context context)
Registers a Context with the specified Identifier
using a DefaultContextConfiguration. |
Identifier |
registerContext(Identifier contextIdentifier,
Context context,
ContextConfiguration contextConfiguration)
Registers a Context with the specified Identifier
and ContextConfiguration. |
Identifier |
registerContext(String contextName,
Context context)
Registers a Context with the specified contextName
using a DefaultContextConfiguration. |
Identifier |
registerContext(String contextName,
Context context,
ContextConfiguration contextConfiguration)
Registers a Context with the specified contextName
and ContextConfiguration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultContextsManager()
| Method Detail |
|---|
public Identifier registerContext(Identifier contextIdentifier,
Context context,
ContextConfiguration contextConfiguration)
Context with the specified Identifier
and ContextConfiguration.
The returned Identifier may then be used to
manage the Context, including submitting Commands
for execution.
registerContext in interface ContextsManager
public Identifier registerContext(Identifier contextIdentifier,
Context context)
Context with the specified Identifier
using a DefaultContextConfiguration.
The returned Identifier may then be used to
manage the Context, including submitting Commands
for execution.
registerContext in interface ContextsManager
public Identifier registerContext(String contextName,
Context context,
ContextConfiguration contextConfiguration)
Context with the specified contextName
and ContextConfiguration.
The returned Identifier may then be used to
manage the Context, including submitting Commands
for execution.
registerContext in interface ContextsManager
public Identifier registerContext(String contextName,
Context context)
Context with the specified contextName
using a DefaultContextConfiguration.
The returned Identifier may then be used to
manage the Context, including submitting Commands
for execution.
registerContext in interface ContextsManager
public Identifier registerContext(Context context,
ContextConfiguration contextConfiguration)
Context with a specified ContextConfiguration.
NOTE: A unique Identifier will be generated for the Context.
The returned Identifier may then be used to
manage the Context, including submitting Commands
for execution.
registerContext in interface ContextsManagerpublic Identifier registerContext(Context context)
Context using a DefaultContextConfiguration.
NOTE: A unique Identifier will be generated for the Context.
The returned Identifier may then be used to
manage the Context, including submitting Commands
for execution.
registerContext in interface ContextsManagerpublic Context getContext(Identifier identifier)
Context with the
specified Identifier.
getContext in interface ContextsManager
public Object extractValueFromContext(Identifier identifier,
com.tangosol.util.ValueExtractor valueExtractor)
Context with the provided ValueExtractor.
extractValueFromContext in interface ContextsManagerpublic static ContextsManager getInstance()
DefaultContextsManager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||