net.dpml.station
Class ApplicationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.dpml.station.ApplicationEvent
All Implemented Interfaces:
Serializable

public class ApplicationEvent
extends EventObject

An application registry event.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ApplicationEvent(Application application, ProcessState state)
          Creation of a new application event.
 
Method Summary
 Application getApplication()
          Return the application that initiated the event.
 ProcessState getState()
          Return the state associated with the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationEvent

public ApplicationEvent(Application application,
                        ProcessState state)
Creation of a new application event.

Parameters:
application - event source
state - the state established by the application
Method Detail

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