|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cinecolombia.cinecolombia.control.ejb.handlers.StateHandlerSupport
superclass for event handlers
| Field Summary | |
protected StateMachine |
machine
StateMachine |
| Constructor Summary | |
StateHandlerSupport()
|
|
| Method Summary | |
void |
doEnd()
DdoEnd: after event processing |
void |
doStart()
doStart: before event processing |
void |
init(StateMachine machine)
every handler is instanced and initialized by the StateMachine javaBean; the handler gets the StateMachine reference by parameter |
java.lang.Object |
perform(CinecolombiaEvent event)
processing of event |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected StateMachine machine
| Constructor Detail |
public StateHandlerSupport()
| Method Detail |
public void init(StateMachine machine)
init in interface StateHandlermachine - StateMachinepublic void doStart()
doStart in interface StateHandler
public java.lang.Object perform(CinecolombiaEvent event)
throws CinecolombiaEventException
perform in interface StateHandlerevent - event corresponding to user request
CinecolombiaEventExceptionpublic void doEnd()
doEnd in interface StateHandler
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||