com.glaivestone.javax.execution
Class SessionEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.glaivestone.javax.util.ConfirmationEventObject
              |
              +--com.glaivestone.javax.execution.SessionEvent
All Implemented Interfaces:
java.io.Serializable

public class SessionEvent
extends ConfirmationEventObject

A session event is fired to notify listeners of general session life-cycle events such as startup and shutdown.

Author:
Deb Lewis
See Also:
SessionManager, SessionEventListener, Serialized Form

Field Summary
static int ABOUT_TO_SHUTDOWN
          Notification event that session shutdown processing is being initiated.
static int ABOUT_TO_START
          Notification event that the session is about to be started.
static int CONFIRM_SHUTDOWN
          Vetoable confirmation event notification that session shutdown processing is about to be initiated.
static int STARTED
          Notification event that the session has been started.
 
Constructor Summary
SessionEvent(int id, java.lang.Object source)
          Constructs a new SessionEvent.
 
Method Summary
 int getID()
          Answer the event type.
 
Methods inherited from class com.glaivestone.javax.util.ConfirmationEventObject
veto
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ABOUT_TO_START

public static final int ABOUT_TO_START
Notification event that the session is about to be started. Fired prior to initialization processing.

See Also:
Constant Field Values

STARTED

public static final int STARTED
Notification event that the session has been started. Fired after initialization processing is completed.

See Also:
Constant Field Values

CONFIRM_SHUTDOWN

public static final int CONFIRM_SHUTDOWN
Vetoable confirmation event notification that session shutdown processing is about to be initiated.

See Also:
Constant Field Values

ABOUT_TO_SHUTDOWN

public static final int ABOUT_TO_SHUTDOWN
Notification event that session shutdown processing is being initiated.

See Also:
Constant Field Values
Constructor Detail

SessionEvent

public SessionEvent(int id,
                    java.lang.Object source)
Constructs a new SessionEvent.

Parameters:
id - the ID which identifies the specific event
source - The object on which the event initially occurred.
Method Detail

getID

public int getID()
Answer the event type.


GFL 1.1 API