net.dpml.station
Class ApplicationEvent
java.lang.Object
java.util.EventObject
net.dpml.station.ApplicationEvent
- All Implemented Interfaces:
- Serializable
- public class ApplicationEvent
- extends EventObject
An application registry event.
- See Also:
- Serialized Form
ApplicationEvent
public ApplicationEvent(Application application,
ProcessState state)
- Creation of a new application event.
- Parameters:
application
- event sourcestate
- the state established by the application
getApplication
public Application getApplication()
- Return the application that initiated the event.
- Returns:
- application event source
getState
public ProcessState getState()
- Return the state associated with the event.
- Returns:
- the application state