|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--javax.management.Notification | +--weblogic.management.logging.WebLogicLogNotification
This class is the type of Notifications which are generated by the LogBroadcasterRuntimeMBean in the server for log messages. JMX notification listeners registering to LogBroadcasterRuntimeMBean get a notification of this type when their handleNotification() methods are invoked. The getters on this class return the respective fields (as indicated by the name) of the log message on behalf of which this notification was created.
LogBroadcasterRuntimeMBean
,
NotificationListener
,
NotificationBroadcaster
, Serialized FormFields inherited from class javax.management.Notification |
source |
Fields inherited from class java.util.EventObject |
source |
Method Summary | |
java.lang.String |
getId()
Returns the full message id from the log entry. |
java.lang.String |
getMachineName()
Gets the machineName attribute of the WebLogicLogNotification object |
int |
getMessageId()
Server log message ids are of the form [prefix-]id, where the prefix for WLS messages is "BEA", eg BEA-123456. |
java.lang.String |
getMessageIdString()
Returns the numeric id as a 6 digit string. |
java.lang.String |
getServername()
Gets the servername attribute of the WebLogicLogNotification object |
int |
getSeverity()
Gets the severity attribute of the WebLogicLogNotification object |
java.lang.String |
getSubsystem()
Identifies the subsystem responsible for logging the message. |
java.lang.String |
getThreadId()
Gets the threadId attribute of the WebLogicLogNotification object |
java.lang.Throwable |
getThrowable()
Gets the throwable attribute of the WebLogicLogNotification object |
java.lang.String |
getTransactionId()
Gets the transactionId attribute of the WebLogicLogNotification object |
java.lang.String |
getType()
This returns the notification type, as defined by JMX. |
java.lang.String |
getUserId()
Gets the userId attribute of the WebLogicLogNotification object |
int |
getVersion()
Returns the version number for this WebLogicLogNotification. |
Methods inherited from class javax.management.Notification |
getMessage,
getSequenceNumber,
getSource,
getTimeStamp,
getUserData,
setSequenceNumber,
setSource,
setTimeStamp,
setUserData |
Methods inherited from class java.util.EventObject |
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public final int getVersion()
public java.lang.String getType()
getMessageId()
method.
The getId()
method can be used to obtain the logged version of the id.
To obtain the subsystem identifier, the getSubsystem()
method is recommended.
public java.lang.String getMachineName()
public java.lang.String getServername()
public java.lang.String getThreadId()
public java.lang.String getUserId()
public java.lang.String getTransactionId()
public int getSeverity()
public java.lang.Throwable getThrowable()
public int getMessageId()
public java.lang.String getId()
public java.lang.String getMessageIdString()
getId()
. Otherwise, the returned value is the
id with the prefix removed.
public java.lang.String getSubsystem()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |