|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.transaction.TransactionManagerType
This class defines all the valid transaction manager types
Field Summary | |
static TransactionManagerType |
NULL
Instatiate instances related to each of the enumerations |
static int |
NULL_TM_ORD
Oridnal values for each transaction manager type |
static java.lang.String |
NULL_TM_STR
Strign value for each transaction manager type |
static TransactionManagerType |
TYREX
|
static int |
TYREX_TM_ORD
|
static java.lang.String |
TYREX_TM_STR
|
Method Summary | |
boolean |
equals(java.lang.Object obj)
Return true if the two specified object is ofthe same type andthat their ordinal values are the same. |
static TransactionManagerType |
fromInt(int value)
Return the TransactionManagerType give its ordinal value |
int |
getOrd()
Returns the ordinal value for this type |
java.lang.String |
getType()
Return the transaction type as a string |
boolean |
isNullTransactionManager()
Returns true if it is a Tyrex transaction manager |
boolean |
isTyrexTransactionManager()
Returns true if it is a Tyrex transaction manager |
java.lang.String |
toString()
Returns the name of this transaction type |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int NULL_TM_ORD
public static final int TYREX_TM_ORD
public static final java.lang.String NULL_TM_STR
public static final java.lang.String TYREX_TM_STR
public static final TransactionManagerType NULL
public static final TransactionManagerType TYREX
Method Detail |
public int getOrd()
public java.lang.String getType()
public java.lang.String toString()
toString
in class java.lang.Object
public static TransactionManagerType fromInt(int value)
value
- - message ord valuepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to compare againstpublic boolean isTyrexTransactionManager()
public boolean isNullTransactionManager()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |