|
Sun GlassFish(tm) Message Queue v4.4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
javax.management.Notification
com.sun.messaging.jms.management.server.MQNotification
com.sun.messaging.jms.management.server.LogNotification
public class LogNotification
Class containing information on log related notifications. Log Notifications are sent when an entry in the broker log is made.
| Field Summary | |
|---|---|
static String |
LOG_LEVEL_ERROR
|
static String |
LOG_LEVEL_INFO
|
static String |
LOG_LEVEL_PREFIX
|
static String |
LOG_LEVEL_WARNING
|
| Fields inherited from class com.sun.messaging.jms.management.server.MQNotification |
|---|
PREFIX |
| Fields inherited from class javax.management.Notification |
|---|
source |
| Constructor Summary | |
|---|---|
LogNotification(String type,
Object source,
long sequenceNumber)
Creates a LogNotification object. |
|
| Method Summary | |
|---|---|
String |
getLevel()
Returns the log level related to this log notification. |
String |
getMessage()
Returns message related to this log notification. |
void |
setLevel(String level)
Sets the log level related to this log notification. |
void |
setMessage(String msg)
Sets the message related to this log notification. |
| Methods inherited from class javax.management.Notification |
|---|
getSequenceNumber, getTimeStamp, getType, 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 |
| Field Detail |
|---|
public static final String LOG_LEVEL_PREFIX
public static final String LOG_LEVEL_WARNING
public static final String LOG_LEVEL_ERROR
public static final String LOG_LEVEL_INFO
| Constructor Detail |
|---|
public LogNotification(String type,
Object source,
long sequenceNumber)
type - The notification type.source - The notification source.sequenceNumber - The notification sequence number within the source object.| Method Detail |
|---|
public void setMessage(String msg)
msg - The log message for this notification.public String getMessage()
getMessage in class Notificationpublic void setLevel(String level)
level - The log level for this notification.public String getLevel()
|
Sun GlassFish(tm) Message Queue v4.4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||