Java EE 5 SDK

com.sun.appserv.management.j2ee
Interface J2EEManagementEvent


public interface J2EEManagementEvent


Method Summary
 String getMessage()
          An informational message about the event.
 long getSequence()
          The sequence number of the event.
 String getSource()
          The name of the managed object that generated this event.
 String getType()
          The type of the event.
 long getWhen()
          The time of the event represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.
 

Method Detail

getSource

String getSource()
The name of the managed object that generated this event.

Returns:
the ObjectName of the object, as a String

getWhen

long getWhen()
The time of the event represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.


getSequence

long getSequence()
The sequence number of the event. Identifies the position of the event in a stream of events. The sequence number provides a means of determining the order of sequential events that occurred with the same timestamp (within the minimum supported unit of time).


getType

String getType()
The type of the event. State manageable objects generate a J2EEEvent object with the type attribute set to "STATE" whenever they reach the RUNNING, STOPPED or FAILED states.


getMessage

String getMessage()
An informational message about the event.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.