Class TransactionNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
com.sun.messaging.jms.management.server.MQNotification
com.sun.messaging.jms.management.server.TransactionNotification
- All Implemented Interfaces:
Serializable
Class containing information on transaction notifications.
The MQ specific fields in this notification is TBD.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA transaction was committed.static final StringA transaction has entered the prepared state.static final StringA transaction was rolled back.Fields inherited from class com.sun.messaging.jms.management.server.MQNotification
PREFIXFields inherited from class javax.management.Notification
source -
Constructor Summary
ConstructorsConstructorDescriptionTransactionNotification(String type, Object source, long sequenceNumber) Creates a TransactionNotification object. -
Method Summary
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
-
TRANSACTION_COMMIT
A transaction was committed.- See Also:
-
TRANSACTION_PREPARE
A transaction has entered the prepared state.- See Also:
-
TRANSACTION_ROLLBACK
A transaction was rolled back.- See Also:
-
-
Constructor Details
-
TransactionNotification
Creates a TransactionNotification object.- Parameters:
type- The notification type.source- The notification source.sequenceNumber- The notification sequence number within the source object.
-