Package | Description |
---|---|
javax.slee.facilities |
This package defines the interfaces and classes for the SLEE facilities available to SBBs and resource adaptors.
|
javax.slee.management |
This package defines the SLEE external management interfaces.
|
Modifier and Type | Field and Description |
---|---|
static TraceLevel |
TraceLevel.CONFIG
Trace level for messages relating to configuration.
|
static TraceLevel |
TraceLevel.FINE
Trace level for general coarse-grained debugging messages.
|
static TraceLevel |
TraceLevel.FINER
Trace level for debug messages containing moderate detail.
|
static TraceLevel |
TraceLevel.FINEST
Trace level for highly detailed or fine-grained messages.
|
static TraceLevel |
TraceLevel.INFO
Trace level for general information messages.
|
static TraceLevel |
TraceLevel.OFF
Trace level for maximum filtering.
|
static TraceLevel |
TraceLevel.SEVERE
Trace level for messages that indicate a severe error has occurred.
|
static TraceLevel |
TraceLevel.WARNING
Trace level for messages that indicate warnings.
|
Modifier and Type | Method and Description |
---|---|
static TraceLevel |
TraceLevel.fromInt(int level)
Get a
TraceLevel object from an integer value. |
static TraceLevel |
TraceLevel.fromString(String level)
Get a
TraceLevel object from a string value. |
TraceLevel |
Tracer.getTraceLevel()
Get the current effective trace level for this tracer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TraceLevel.isHigherLevel(TraceLevel other)
Determine if this TraceLevel object represents a level that is higher than some other
TraceLevel object.
|
boolean |
Tracer.isTraceable(TraceLevel level)
Determine if the current effective trace level for this tracer is sufficient to allow
a
TraceNotification to be generated by the
TraceMBean if a trace message was emitted at the specified
trace level using this tracer. |
void |
Tracer.trace(TraceLevel level,
String message)
Emit a trace message at the specified trace level.
|
void |
Tracer.trace(TraceLevel level,
String message,
Throwable cause)
Emit a trace message with a cause throwable at the specified trace level.
|
Modifier and Type | Method and Description |
---|---|
TraceLevel |
TraceNotification.getTraceLevel()
Get the trace level of the trace message.
|
TraceLevel |
TraceMBean.getTraceLevel(NotificationSource notificationSource,
String tracerName)
Get the effective trace filter level of the specified tracer for the specified
notification source.
|
Modifier and Type | Method and Description |
---|---|
void |
TraceMBean.setTraceLevel(NotificationSource notificationSource,
String tracerName,
TraceLevel level)
Set the trace filter level of the specified tracer for the specified notification
source to the specified trace level.
|
Constructor and Description |
---|
TraceLevelFilter(TraceLevel minLevel)
Create a
TraceLevelFilter . |
TraceNotification(String type,
TraceMBean traceMBean,
NotificationSource notificationSource,
String tracerName,
TraceLevel traceLevel,
String message,
Throwable cause,
long sequenceNumber,
long timestamp)
Create a
TraceNotification to notify listeners of a trace message. |