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:
java.io.Serializable
public class DestinationNotification extends MQNotification
Class containing information on consumer notifications.The MQ specific fields in this notification is TBD.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDESTINATION_COMPACTA destination was compacted.static java.lang.StringDESTINATION_CREATEA destination was created.static java.lang.StringDESTINATION_DESTROYA destination was destroyed.static java.lang.StringDESTINATION_PAUSEA destination was paused.static java.lang.StringDESTINATION_PURGEA destination was purged.static java.lang.StringDESTINATION_RESUMEA destination was resumed.-
Fields inherited from class com.sun.messaging.jms.management.server.MQNotification
PREFIX
-
-
Constructor Summary
Constructors Constructor Description DestinationNotification(java.lang.String type, java.lang.Object source, long sequenceNumber)Creates a DestinationNotification object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCreatedByAdmin()java.lang.StringgetDestinationName()java.lang.StringgetDestinationType()java.lang.StringgetPauseType()voidsetCreatedByAdmin(boolean createdByAdmin)voidsetDestinationName(java.lang.String name)voidsetDestinationType(java.lang.String type)voidsetPauseType(java.lang.String pauseType)
-
-
-
Field Detail
-
DESTINATION_COMPACT
public static final java.lang.String DESTINATION_COMPACT
A destination was compacted.- See Also:
- Constant Field Values
-
DESTINATION_CREATE
public static final java.lang.String DESTINATION_CREATE
A destination was created.- See Also:
- Constant Field Values
-
DESTINATION_DESTROY
public static final java.lang.String DESTINATION_DESTROY
A destination was destroyed.- See Also:
- Constant Field Values
-
DESTINATION_PAUSE
public static final java.lang.String DESTINATION_PAUSE
A destination was paused.- See Also:
- Constant Field Values
-
DESTINATION_PURGE
public static final java.lang.String DESTINATION_PURGE
A destination was purged.- See Also:
- Constant Field Values
-
DESTINATION_RESUME
public static final java.lang.String DESTINATION_RESUME
A destination was resumed.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DestinationNotification
public DestinationNotification(java.lang.String type, java.lang.Object source, long sequenceNumber)Creates a DestinationNotification object.- Parameters:
type- The notification type.source- The notification source.sequenceNumber- The notification sequence number within the source object.
-
-
Method Detail
-
setDestinationName
public void setDestinationName(java.lang.String name)
-
getDestinationName
public java.lang.String getDestinationName()
-
setDestinationType
public void setDestinationType(java.lang.String type)
-
getDestinationType
public java.lang.String getDestinationType()
-
setPauseType
public void setPauseType(java.lang.String pauseType)
-
getPauseType
public java.lang.String getPauseType()
-
setCreatedByAdmin
public void setCreatedByAdmin(boolean createdByAdmin)
-
getCreatedByAdmin
public boolean getCreatedByAdmin()
-
-