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 String
A destination was compacted.static final String
A destination was created.static final String
A destination was destroyed.static final String
A destination was paused.static final String
A destination was purged.static final String
A destination was resumed.Fields inherited from class com.sun.messaging.jms.management.server.MQNotification
PREFIX
Fields inherited from class javax.management.Notification
source
-
Constructor Summary
ConstructorsConstructorDescriptionDestinationNotification
(String type, Object source, long sequenceNumber) Creates a DestinationNotification object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCreatedByAdmin
(boolean createdByAdmin) void
setDestinationName
(String name) void
setDestinationType
(String type) void
setPauseType
(String pauseType) Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
Methods 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()
-