public interface DiagnosticEvent
extends java.io.Serializable
DiagnosticEvent
interface is an interface that must be implemented by any class
that wants to use the DiagnosticProvider infrastructure. The infrastructure uses the
CommonBaseEventDiagnosticEventImpl
which wraps a CommonBaseEvent.Modifier and Type | Field and Description |
---|---|
static short |
CONTENT_TYPE_CBE_101
The content type for DiagnosticEvents whose content is a Common Base Event
|
static java.lang.String |
EVENT_SERVER_DETAIL
DiagnosticEvent implementation suffix for server detail element
|
static java.lang.String |
EVENT_TYPE_CONFIG_DUMP
MethodName and description of Configuration Dump action used in the AdminService invoke calls to DiagnosticProvider MBeans
|
static java.lang.String |
EVENT_TYPE_NAME
Prefix to the CBE Extended Data Element name when CBE is used to store payload
|
static java.lang.String |
EVENT_TYPE_SELF_DIAGNOSTIC
MethodName and description of SelfDiagnostic action used in the AdminService invoke calls to DiagnosticProvider MBeans
|
static java.lang.String |
EVENT_TYPE_STATE_DUMP
MethodName and description of State Dump action used in the AdminService invoke calls to DiagnosticProvider MBeans
|
static int |
LEVEL_INFO
DiagnosticEvent integer level values which also map to java.util.Logging defaults.
|
static int |
LEVEL_SEVERE
DiagnosticEvent integer level values which also map to java.util.Logging defaults.
|
static int |
LEVEL_WARNING
DiagnosticEvent integer level values which also map to java.util.Logging defaults.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCellName()
retrieves the name of the cell for this process in the WebSphere topology
|
java.lang.Object |
getContent()
retrieves the content of the DiagnosticEvent (normally a CommonBaseEvent)
|
short |
getContentType()
retrieves the type of the content
|
java.util.SortedMap |
getDiagnosticData()
retrieves the primary payload of the DiagnosticEvent
|
java.lang.String |
getDiagnosticProviderId()
retrieves the DiagnosticProviderID that created the
DiagnosticEvent |
java.lang.String |
getEventType()
retrieves the type of event that drove the creation of the DiagnosticEvent
|
int |
getLevel()
retrieves the severity level of the DiagnosticEvent
|
java.lang.String |
getMessageKey()
retrieves the key (msgId) used for localization
|
java.lang.Object[] |
getMessageParameters()
retrieves the parameters passed to the message processing
|
java.lang.String |
getNodeName()
retrieves the name of the node for this process in the WebSphere topology
|
java.lang.String |
getResourceBundleName()
retrieves the name of the ResourceBundle used for localization
|
java.lang.String |
getServerDetail()
retrieves the detail associated with this server.
|
java.lang.String |
getServerName()
retrieves the name of the WebSphere server
|
java.lang.String |
getSourceClass()
retrieves the class name that triggered the creation of the DiagnosticEvent
|
java.lang.String |
getSourceMethod()
retrieves the method name that triggered the creation of the DiagnosticEvent
|
java.lang.String |
toString()
returns the content of the DiagnosticEvent as a String
|
static final short CONTENT_TYPE_CBE_101
static final java.lang.String EVENT_TYPE_CONFIG_DUMP
static final java.lang.String EVENT_TYPE_STATE_DUMP
static final java.lang.String EVENT_TYPE_SELF_DIAGNOSTIC
static final java.lang.String EVENT_SERVER_DETAIL
static final java.lang.String EVENT_TYPE_NAME
static final int LEVEL_INFO
static final int LEVEL_WARNING
static final int LEVEL_SEVERE
java.lang.Object getContent()
short getContentType()
java.lang.String getEventType()
java.lang.String getDiagnosticProviderId()
DiagnosticEvent
java.lang.String getSourceClass()
java.lang.String getSourceMethod()
java.util.SortedMap getDiagnosticData()
java.lang.String getResourceBundleName()
java.lang.String getMessageKey()
java.lang.Object[] getMessageParameters()
int getLevel()
java.lang.String getCellName()
java.lang.String getNodeName()
java.lang.String getServerName()
java.lang.String getServerDetail()
java.lang.String toString()
toString
in class java.lang.Object