|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmandala.rami.impl.CallbackManagerImpl
Implementation of the CallbackManager
interface.
FutureFactory,
CallbackManager,
Serialized Form| Constructor Summary | |
CallbackManagerImpl()
|
|
| Method Summary | |
Callback |
getCallback()
Returns the local thread scope Callback if it exists, returns the
global object scope Callback
otherwise. |
Callback |
getGlobalCallback()
Returns this global object scope Callback. |
Callback |
getLocalCallback()
Returns the local thread scope Callback. |
void |
setGlobalCallback(Callback callback)
Sets this global object scope Callback. |
void |
setLocalCallback(Callback callback)
Sets the local thread scope Callback. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CallbackManagerImpl()
| Method Detail |
public String toString()
public Callback getGlobalCallback()
CallbackManagerReturns this global object scope
Callback.
The Callback returns is the one which is
associated to this instance.
getGlobalCallback in interface CallbackManagerCallback.Callbackpublic void setGlobalCallback(Callback callback)
CallbackManagerSets this global object scope
Callback.
After this call, this instance is associated to the
given Callback.
setGlobalCallback in interface CallbackManagercallback - the global object scope
Callback to set.public Callback getLocalCallback()
CallbackManagerReturns the local thread scope
Callback.
The Callback returns is the one which is
associated to the
getLocalCallback in interface CallbackManagerCallback.Callbackpublic void setLocalCallback(Callback callback)
CallbackManagerSets the local thread scope
Callback.
After this call, the Callback.
setLocalCallback in interface CallbackManagercallback - the local thread scope
Callbackpublic final Callback getCallback()
CallbackManagerCallback if it exists, returns the
global object scope Callback
otherwise.
Returns the Callback associated with the
Callback associated with this instance
otherwise.
getCallback in interface CallbackManagerCallback if it exists, returns the
global object scope Callback
otherwise.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||