Class LogNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
com.sun.messaging.jms.management.server.MQNotification
com.sun.messaging.jms.management.server.LogNotification
- All Implemented Interfaces:
- Serializable
Class containing information on log related notifications. Log Notifications are sent when an entry in the broker log
 is made.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.sun.messaging.jms.management.server.MQNotificationPREFIXFields inherited from class javax.management.Notificationsource
- 
Constructor SummaryConstructorsConstructorDescriptionLogNotification(String type, Object source, long sequenceNumber) Creates a LogNotification object.
- 
Method SummaryModifier and TypeMethodDescriptiongetLevel()Returns the log level related to this log notification.Returns message related to this log notification.voidSets the log level related to this log notification.voidsetMessage(String msg) Sets the message related to this log notification.Methods inherited from class javax.management.NotificationgetSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toStringMethods inherited from class java.util.EventObjectgetSource
- 
Field Details- 
LOG_LEVEL_PREFIX- See Also:
 
- 
LOG_LEVEL_WARNING- See Also:
 
- 
LOG_LEVEL_ERROR- See Also:
 
- 
LOG_LEVEL_INFO- See Also:
 
 
- 
- 
Constructor Details- 
LogNotificationCreates a LogNotification object.- Parameters:
- type- The notification type.
- source- The notification source.
- sequenceNumber- The notification sequence number within the source object.
 
 
- 
- 
Method Details- 
setMessageSets the message related to this log notification.- Parameters:
- msg- The log message for this notification.
 
- 
getMessageReturns message related to this log notification.- Overrides:
- getMessagein class- Notification
- Returns:
- The log message for this notification.
 
- 
setLevelSets the log level related to this log notification.- Parameters:
- level- The log level for this notification.
 
- 
getLevelReturns the log level related to this log notification.- Returns:
- The log level for this notification.
 
 
-