Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Message Queue, v4.5 API Specification
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:
  java.io.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

Field Summary
`static java.lang.String` | `TRANSACTION_COMMIT` A transaction was committed.
`static java.lang.String` | `TRANSACTION_PREPARE` A transaction has entered the prepared state.
`static java.lang.String` | `TRANSACTION_ROLLBACK` A transaction was rolled back.

Fields inherited from class com.sun.messaging.jms.management.server.MQNotification
`PREFIX`

Fields inherited from class javax.management.Notification
`source`

Constructor Summary
`TransactionNotification(java.lang.String type, java.lang.Object source, long sequenceNumber)` Creates a TransactionNotification object.

Method Summary
`java.lang.String` | `getTransactionID()`
`void` | `setTransactionID(java.lang.String id)`

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`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### TRANSACTION_COMMIT

    public static final java.lang.String TRANSACTION_COMMIT

  A transaction was committed.

  See Also:
    Constant Field Values

### TRANSACTION_PREPARE

    public static final java.lang.String TRANSACTION_PREPARE

  A transaction has entered the prepared state.

  See Also:
    Constant Field Values

### TRANSACTION_ROLLBACK

    public static final java.lang.String TRANSACTION_ROLLBACK

  A transaction was rolled back.

  See Also:
    Constant Field Values

Constructor Detail

### TransactionNotification

    public TransactionNotification(java.lang.String type,
                                   java.lang.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.

Method Detail

### setTransactionID

    public void setTransactionID(java.lang.String id)

### getTransactionID

    public java.lang.String getTransactionID()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Message Queue, v4.5 API Specification
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.