|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.management.oss.impl.job.opstatus.MonitoredObjectElement
com.sun.management.oss.impl.job.opstatus.J2EEMonitoredObjectElement
J2EEMonitoredObjectElement holds the StateManageable state, as
described in the JSR 77, of a monitored object identified by an object name.
| Constructor Summary | |
J2EEMonitoredObjectElement(javax.management.ObjectName objectName)
Creates a new instance of J2EEMonitoredObjectElement with the
given object name. |
|
| Method Summary | |
void |
setException(java.lang.String msg)
Sets the exception field of this object. |
boolean |
setStateManageable(int state,
long startTime)
Sets the new state of this state, the time in milliseconds when the monitored entity entered the RUNNING(1) state. |
java.lang.String |
toXml()
Returns a XML representation of this J2EEMonitoredObjectElement instance. |
| Methods inherited from class com.sun.management.oss.impl.job.opstatus.MonitoredObjectElement |
getException, hasException |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public J2EEMonitoredObjectElement(javax.management.ObjectName objectName)
J2EEMonitoredObjectElement with the
given object name.
objectName - the object name that identified the monitored object
represented by this object.| Method Detail |
public void setException(java.lang.String msg)
An exception is set if an issue occured while retrieving information from the instrumentation layer.
setException in class MonitoredObjectElementmsg - the exception message.
public boolean setStateManageable(int state,
long startTime)
States are :
The returned value indicates if the state has changed since last call (on the first call, this method returns false).
state - the new state.startTime - time in milliseconds when the state entered the RUNNING(1) state.
public java.lang.String toXml()
J2EEMonitoredObjectElement instance.
toXml in class MonitoredObjectElementJ2EEMonitoredObjectElement instance.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||