Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for MSMQ API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.stc.connector.msmqadapter.xaresource
Class MSDTCxaResource

    java.lang.Object
      com.stc.connector.msmqadapter.xaresource.MSDTCxaResource

All Implemented Interfaces:
  javax.transaction.xa.XAResource

    public class MSDTCxaResource

extends java.lang.Object
implements javax.transaction.xa.XAResource

Field Summary
`java.lang.String` | `xa_resource_name`

Fields inherited from interface javax.transaction.xa.XAResource
`TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY`

Constructor Summary
`MSDTCxaResource()`
`MSDTCxaResource(java.lang.String guid)`

Method Summary
`void` | `close()`
`void` | `commit(javax.transaction.xa.Xid xid, boolean flag)`
`void` | `end(javax.transaction.xa.Xid xid, int flags)`
`void` | `forget(javax.transaction.xa.Xid xid)`
`int` | `getInstance()`
`int` | `getTransactionTimeout()`
`boolean` | `isSameRM(javax.transaction.xa.XAResource xares)`
`int` | `prepare(javax.transaction.xa.Xid xid)`
`javax.transaction.xa.Xid[]` | `recover(int flags)`
`void` | `rollback(javax.transaction.xa.Xid xid)`
`boolean` | `setTransactionTimeout(int i)`
`void` | `start(javax.transaction.xa.Xid xid, int flags)`
`java.lang.String` | `toString()`

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

Field Detail

### xa_resource_name

    public java.lang.String xa_resource_name

Constructor Detail

### MSDTCxaResource

    public MSDTCxaResource()

### MSDTCxaResource

    public MSDTCxaResource(java.lang.String guid)

Method Detail

### commit

    public void commit(javax.transaction.xa.Xid xid,
                       boolean flag)
                throws javax.transaction.xa.XAException

  Specified by:
    `commit` in interface `javax.transaction.xa.XAResource`
  Throws:
    `javax.transaction.xa.XAException`

### end

    public void end(javax.transaction.xa.Xid xid,
                    int flags)
             throws javax.transaction.xa.XAException

  Specified by:
    `end` in interface `javax.transaction.xa.XAResource`
  Throws:
    `javax.transaction.xa.XAException`

### forget

    public void forget(javax.transaction.xa.Xid xid)
                throws javax.transaction.xa.XAException

  Specified by:
    `forget` in interface `javax.transaction.xa.XAResource`
  Throws:
    `javax.transaction.xa.XAException`

### getTransactionTimeout

    public int getTransactionTimeout()
                              throws javax.transaction.xa.XAException

  Specified by:
    `getTransactionTimeout` in interface `javax.transaction.xa.XAResource`
  Throws:
    `javax.transaction.xa.XAException`

### isSameRM

    public boolean isSameRM(javax.transaction.xa.XAResource xares)

  Specified by:
    `isSameRM` in interface `javax.transaction.xa.XAResource`

### prepare

    public int prepare(javax.transaction.xa.Xid xid)
                throws javax.transaction.xa.XAException

  Specified by:
    `prepare` in interface `javax.transaction.xa.XAResource`
  Throws:
    `javax.transaction.xa.XAException`

### recover

    public javax.transaction.xa.Xid[] recover(int flags)
                                       throws javax.transaction.xa.XAException

  Specified by:
    `recover` in interface `javax.transaction.xa.XAResource`
  Throws:
    `javax.transaction.xa.XAException`

### rollback

    public void rollback(javax.transaction.xa.Xid xid)
                  throws javax.transaction.xa.XAException

  Specified by:
    `rollback` in interface `javax.transaction.xa.XAResource`
  Throws:
    `javax.transaction.xa.XAException`

### setTransactionTimeout

    public boolean setTransactionTimeout(int i)
                                  throws javax.transaction.xa.XAException

  Specified by:
    `setTransactionTimeout` in interface `javax.transaction.xa.XAResource`
  Throws:
    `javax.transaction.xa.XAException`

### start

    public void start(javax.transaction.xa.Xid xid,
                      int flags)
               throws javax.transaction.xa.XAException

  Specified by:
    `start` in interface `javax.transaction.xa.XAResource`
  Throws:
    `javax.transaction.xa.XAException`

### close

    public void close()

### getInstance

    public int getInstance()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for MSMQ API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD