|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.lang.enum.Enum
com.xenonsoft.bridgetown.aop.transaction.HeuristicFailureException.HeuristicType
Inner enumeration constant for representing heuristic decisions. This class together with the outer class provides a simplification of the JTA heuristic checked exceptions and turns them into one unchecked exception.
| Field Summary | |
static HeuristicFailureException.HeuristicType |
COMMIT
This enumeration constant denotes the rollback operation on a resource to report that a heuristic decision was made and that all relevant updates have been committed. |
static HeuristicFailureException.HeuristicType |
MIXED
This enumeration constant denotes that a heuristic decision was made and that some relevant updates have been committed and others have been rolled back. |
static HeuristicFailureException.HeuristicType |
ROLLBACK
This enumeration constant denotes the commit operation to report that a heuristic decision was made and that all relevant updates have been rolled back. |
| Fields inherited from class org.apache.commons.lang.enum.Enum |
iToString |
| Method Summary | |
static java.util.List |
getEnumList()
Return a list collection of registered enumerations for this class type |
static java.util.Map |
getEnumMap()
Return a map collection of registered enumerations for this class type |
static java.util.Iterator |
iterator()
Return an iterator that can traverse the collection of registered enumerations |
| Methods inherited from class org.apache.commons.lang.enum.Enum |
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final HeuristicFailureException.HeuristicType COMMIT
This constant effective turns a checked exception
HeuristicCommitException
into a simplified unchecked exception.
public static final HeuristicFailureException.HeuristicType MIXED
This constant effective turns a checked exception
HeuristicMixedException
into a simplified unchecked exception.
public static final HeuristicFailureException.HeuristicType ROLLBACK
This constant effective turns a checked exception
HeuristicRollbackException
into a simplified unchecked exception.
| Method Detail |
public static java.util.Map getEnumMap()
public static java.util.List getEnumList()
public static java.util.Iterator iterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||