|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mq.TransactionRequest
public class TransactionRequest
This class contians all the data needed to perform a JMS transaction
| Field Summary | |
|---|---|
AcknowledgementRequest[] |
acks
messages acknowleged in the transaction |
SpyMessage[] |
messages
messages sent in the transaction |
static byte |
ONE_PHASE_COMMIT_REQUEST
One phase Commit request |
byte |
requestType
Request type |
static byte |
TWO_PHASE_COMMIT_COMMIT_REQUEST
Two phase Commit phase |
static byte |
TWO_PHASE_COMMIT_PREPARE_REQUEST
Two phase Prepare phase |
static byte |
TWO_PHASE_COMMIT_ROLLBACK_REQUEST
Rollback request |
Object |
xid
For 2 phase commit, this identifies the transaction. |
| Constructor Summary | |
|---|---|
TransactionRequest()
|
|
| Method Summary | |
|---|---|
void |
readExternal(ObjectInput in)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte ONE_PHASE_COMMIT_REQUEST
public static final byte TWO_PHASE_COMMIT_PREPARE_REQUEST
public static final byte TWO_PHASE_COMMIT_COMMIT_REQUEST
public static final byte TWO_PHASE_COMMIT_ROLLBACK_REQUEST
public byte requestType
public Object xid
public SpyMessage[] messages
public AcknowledgementRequest[] acks
| Constructor Detail |
|---|
public TransactionRequest()
| Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||