|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.connection.TGlobalTransactionSpecifier
public class TGlobalTransactionSpecifier
TGlobalTransactionSpecifier wraps the parameters which are neccessary to initiate
a global transaction. Currently this is only the global transaction id, which the
API is given from some transaction coordinator. As global tranaction id may
currently only a .. and a ..
In future versions additional parameters may be added.
Nested Class Summary | |
---|---|
static class |
TGlobalTransactionSpecifier.TCompletion
Constant class for the completion mode of a global transaction. |
Constructor Summary | |
---|---|
TGlobalTransactionSpecifier(java.lang.String globalTransactionId)
Initializes the transaction id with a special transaction id. |
|
TGlobalTransactionSpecifier(java.lang.String globalTransactionId,
TGlobalTransactionSpecifier.TCompletion completion)
Initializes the transaction id with a special transaction id. |
Method Summary | |
---|---|
java.lang.String |
toString()
Writes the transaction specifier into a String. |
void |
writeTo(TCommandStatement commandStatement)
Writes the command paremeter and the command parameter value for this transaction id to the given TCommandStatement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TGlobalTransactionSpecifier(java.lang.String globalTransactionId) throws java.io.UnsupportedEncodingException
globalTransactionId
- the special transaction id.
java.io.UnsupportedEncodingException
public TGlobalTransactionSpecifier(java.lang.String globalTransactionId, TGlobalTransactionSpecifier.TCompletion completion)
globalTransactionId
- the special transaction id.completion
- the completion value.Method Detail |
---|
public void writeTo(TCommandStatement commandStatement)
commandStatement
- gets the current transaction id.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |