|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mvc.CallbackExecutor
public class CallbackExecutor
A CallbackExecutor provides a registration, unregistration and execution service for callbacks.
Constructor Summary | |
---|---|
CallbackExecutor()
new CallbackExecutor() returns a new CallbackExecutor. |
Method Summary | |
---|---|
void |
addCallback(Callback cbk)
ce.addCallback(cbk) registers cbk as an callback that is executed by ce when ce.executeCallbacks() is invoked. |
protected void |
executeCallbacks()
ce.executeCallbacks() sends an execute() message to all callbacks that are registered with ce. |
void |
removeCallback(Callback cbk)
ce.removeCallback(cbk) unregisters cbk as an callback that is executed by ce when ce.executeCallbacks() is invoked. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallbackExecutor()
Method Detail |
---|
protected void executeCallbacks()
public void addCallback(Callback cbk)
addCallback
in interface CallbackRegistry
cbk
- the callback to be registeredpublic void removeCallback(Callback cbk)
removeCallback
in interface CallbackRegistry
cbk
- the callback to be unregistered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |