|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEmxAction<E,V>
Represents an EMX action.
This interface represents an EMX action and should be implemented by
any action that needs to be invoked via the EmxActionExecutor
.
Method Summary | |
---|---|
V |
execute(IEmxDispatcher dispatcher,
E object)
The action endpoint method. |
Method Detail |
---|
V execute(IEmxDispatcher dispatcher, E object) throws Exception
dispatcher
- The dispatcher in whose context this method is invoked.object
- The object passed in to EmxActionExecutor.invoke(com.neeve.emx.IEmxDispatcher, com.neeve.emx.IEmxAction, E, int)
.
Exception
- If the user has requested for a synchronous action when
invoking EmxActionExecutor.invoke(com.neeve.emx.IEmxDispatcher, com.neeve.emx.IEmxAction, E, int)
, the invoke method will return
with this exception.
This serves as the entry point for actions that are executed via the
EmxActionExecutor
. The EmxActionExecutor
invokes
this method to run the action.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |