com.sun.messaging.jms.management.server
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
public class TransactionNotification
- extends MQNotification
Class containing information on transaction notifications.
The MQ specific fields in this notification is TBD.
- See Also:
- Serialized Form
TRANSACTION_COMMIT
public static final String TRANSACTION_COMMIT
- A transaction was committed.
- See Also:
- Constant Field Values
TRANSACTION_PREPARE
public static final String TRANSACTION_PREPARE
- A transaction has entered the prepared state.
- See Also:
- Constant Field Values
TRANSACTION_ROLLBACK
public static final String TRANSACTION_ROLLBACK
- A transaction was rolled back.
- See Also:
- Constant Field Values
TransactionNotification
public TransactionNotification(String type,
Object source,
long sequenceNumber)
- Creates a TransactionNotification object.
- Parameters:
type
- The notification type.source
- The notification source.sequenceNumber
- The notification sequence number within the source object.
setTransactionID
public void setTransactionID(String id)
getTransactionID
public String getTransactionID()
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.