|
|||||||||||
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 FormConstructor 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 . |
java.lang.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 java.lang.String toString()
public Callback getGlobalCallback()
CallbackManager
Returns this global object scope
Callback
.
The Callback
returns is the one which is
associated to this
instance.
getGlobalCallback
in interface CallbackManager
Callback
.Callback
public void setGlobalCallback(Callback callback)
CallbackManager
Sets this global object scope
Callback
.
After this call, this
instance is associated to the
given Callback
.
setGlobalCallback
in interface CallbackManager
callback
- the global object scope
Callback
to set.public Callback getLocalCallback()
CallbackManager
Returns the local thread scope
Callback
.
The Callback
returns is the one which is
associated to the
getLocalCallback
in interface CallbackManager
Callback
.Callback
public void setLocalCallback(Callback callback)
CallbackManager
Sets the local thread scope
Callback
.
After this call, the Callback
.
setLocalCallback
in interface CallbackManager
callback
- the local thread scope
Callback
public final Callback getCallback()
CallbackManager
Callback
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 CallbackManager
Callback
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 |