|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.management.Notification
weblogic.management.logging.WebLogicLogNotification
public final class 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 FormField Summary |
---|
Fields inherited from class javax.management.Notification |
---|
source |
Method Summary | |
---|---|
String |
getDiagnosticContextId()
Gets the diagnostic context id associated with the log event. |
String |
getId()
Returns the full message id from the log entry. |
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 "WL", eg WL-123456. |
String |
getMessageIdString()
Returns the numeric id as a 6 digit string. |
String |
getServername()
Gets the servername attribute of the WebLogicLogNotification object |
int |
getSeverity()
Gets the severity attribute of the WebLogicLogNotification object |
String |
getSubsystem()
Identifies the subsystem responsible for logging the message. |
String |
getThreadId()
Gets the threadId attribute of the WebLogicLogNotification object |
Throwable |
getThrowable()
Gets the throwable attribute of the WebLogicLogNotification object |
String |
getTransactionId()
Gets the transactionId attribute of the WebLogicLogNotification object |
String |
getType()
This returns the notification type, as defined by JMX. |
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, getTimeStamp, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final int getVersion()
public String getType()
WebLogicLogNotification.getMessageId()
method.
The WebLogicLogNotification.getId()
method can be used to obtain the logged version of the id.
To obtain the subsystem identifier, the WebLogicLogNotification.getSubsystem()
method is recommended.
getType
in class Notification
public String getMachineName()
public String getServername()
public String getThreadId()
public String getUserId()
public String getTransactionId()
public int getSeverity()
public Throwable getThrowable()
public int getMessageId()
public String getId()
public String getMessageIdString()
WebLogicLogNotification.getId()
. Otherwise, the returned value is the
id with the prefix removed.
public String getSubsystem()
public String getDiagnosticContextId()
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |