|
[Deprecated API] | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | CURRENT API | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.interface21.transaction.support.DefaultTransactionDefinition
|
+--com.interface21.transaction.interceptor.DefaultTransactionAttribute
Transaction attribute that takes EJB approach to rolling back on runtime, but not checked, exceptions.
| Fields inherited from interface com.interface21.transaction.TransactionDefinition |
ISOLATION_CONSTANT_PREFIX, ISOLATION_DEFAULT, ISOLATION_READ_COMMITTED, ISOLATION_READ_UNCOMMITTED, ISOLATION_REPEATABLE_READ, ISOLATION_SERIALIZABLE, PROPAGATION_CONSTANT_PREFIX, PROPAGATION_MANDATORY, PROPAGATION_REQUIRED, PROPAGATION_SUPPORTS, TIMEOUT_DEFAULT |
| Constructor Summary | |
DefaultTransactionAttribute(int propagationBehavior,
int isolationLevel)
|
|
| Method Summary | |
boolean |
rollBackOn(java.lang.Throwable t)
Default behaviour is as with EJB: rollback on unchecked exception. |
| Methods inherited from class com.interface21.transaction.support.DefaultTransactionDefinition |
getIsolationLevel, getPropagationBehavior, getTimeout, setIsolationLevel, setPropagationBehavior, setTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.interface21.transaction.TransactionDefinition |
getIsolationLevel, getPropagationBehavior, getTimeout |
| Constructor Detail |
public DefaultTransactionAttribute(int propagationBehavior,
int isolationLevel)
| Method Detail |
public boolean rollBackOn(java.lang.Throwable t)
rollBackOn in interface TransactionAttributecom.interface21.transaction.interceptor.TransactionAttributeex - the exception to evaluate
|
[Deprecated API] | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | CURRENT API | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||