|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implementations of this interface receive notifications about changes to the state of Application. The implementation must have a zero argument constructor and is instantiated before any other component of the Server Application. To receive notification events, the implementation class should be specified in the assembly.xml descriptor.
Method Summary | |
void |
applicationFailure(java.lang.Exception causeOfFailure)
Notification that an application has failed at some moment. |
void |
applicationStarted()
Notification that an application has now started. |
void |
applicationStarting(ApplicationEvent applicationEvent)
Notification that an application is being started. |
void |
applicationStopped()
Notification that an application has stopped. |
void |
applicationStopping()
Notification that an application is being stopped. |
void |
blockAdded(BlockEvent event)
Notification that a block has just been added to Server Application. |
void |
blockRemoved(BlockEvent event)
Notification that a block is just about to be removed from Server Application. |
Method Detail |
public void blockAdded(BlockEvent event)
blockAdded
in interface BlockListener
event
- the BlockEventpublic void blockRemoved(BlockEvent event)
blockRemoved
in interface BlockListener
event
- the BlockEventpublic void applicationStarting(ApplicationEvent applicationEvent) throws java.lang.Exception
applicationEvent
- the ApplicationEvent
java.lang.Exception
public void applicationStarted()
public void applicationStopping()
public void applicationStopped()
public void applicationFailure(java.lang.Exception causeOfFailure)
causeOfFailure
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |