Class DestinationNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
com.sun.messaging.jms.management.server.MQNotification
com.sun.messaging.jms.management.server.DestinationNotification
- All Implemented Interfaces:
Serializable
Class containing information on consumer notifications.
The MQ specific fields in this notification is TBD.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA destination was compacted.static final StringA destination was created.static final StringA destination was destroyed.static final StringA destination was paused.static final StringA destination was purged.static final StringA destination was resumed.Fields inherited from class com.sun.messaging.jms.management.server.MQNotification
PREFIXFields inherited from class javax.management.Notification
source -
Constructor Summary
ConstructorsConstructorDescriptionDestinationNotification(String type, Object source, long sequenceNumber) Creates a DestinationNotification object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetCreatedByAdmin(boolean createdByAdmin) voidsetDestinationName(String name) voidsetDestinationType(String type) voidsetPauseType(String pauseType) Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toStringMethods inherited from class java.util.EventObject
getSource
-
Field Details
-
DESTINATION_COMPACT
A destination was compacted.- See Also:
-
DESTINATION_CREATE
A destination was created.- See Also:
-
DESTINATION_DESTROY
A destination was destroyed.- See Also:
-
DESTINATION_PAUSE
A destination was paused.- See Also:
-
DESTINATION_PURGE
A destination was purged.- See Also:
-
DESTINATION_RESUME
A destination was resumed.- See Also:
-
-
Constructor Details
-
DestinationNotification
Creates a DestinationNotification object.- Parameters:
type- The notification type.source- The notification source.sequenceNumber- The notification sequence number within the source object.
-
-
Method Details
-
setDestinationName
-
getDestinationName
-
setDestinationType
-
getDestinationType
-
setPauseType
-
getPauseType
-
setCreatedByAdmin
public void setCreatedByAdmin(boolean createdByAdmin) -
getCreatedByAdmin
public boolean getCreatedByAdmin()
-