|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.transaction.support.DefaultTransactionDefinition
org.springframework.transaction.interceptor.DefaultTransactionAttribute
org.springframework.jee.transaction.Ejb3TransactionAttribute
public class Ejb3TransactionAttribute
EJB3 Transaction Attribute which will rollback on all exceptions unless the "Application Exceptions" with rollback attribute set to false.
Field Summary | |
---|---|
(package private) ApplicationExceptionManager |
applicationExceptionManager
|
Fields inherited from class org.springframework.transaction.support.DefaultTransactionDefinition |
---|
PREFIX_ISOLATION, PREFIX_PROPAGATION, PREFIX_TIMEOUT, READ_ONLY_MARKER |
Fields inherited from interface org.springframework.transaction.TransactionDefinition |
---|
ISOLATION_DEFAULT, ISOLATION_READ_COMMITTED, ISOLATION_READ_UNCOMMITTED, ISOLATION_REPEATABLE_READ, ISOLATION_SERIALIZABLE, PROPAGATION_MANDATORY, PROPAGATION_NESTED, PROPAGATION_NEVER, PROPAGATION_NOT_SUPPORTED, PROPAGATION_REQUIRED, PROPAGATION_REQUIRES_NEW, PROPAGATION_SUPPORTS, TIMEOUT_DEFAULT |
Constructor Summary | |
---|---|
Ejb3TransactionAttribute(ApplicationExceptionManager appExManager)
|
Method Summary | |
---|---|
boolean |
rollbackOn(java.lang.Throwable ex)
Rollbacks all errors and exceptions unless "application exceptions" with rollback attribute set to false are encountered. |
Methods inherited from class org.springframework.transaction.support.DefaultTransactionDefinition |
---|
equals, getDefinitionDescription, getIsolationLevel, getName, getPropagationBehavior, getTimeout, hashCode, isReadOnly, setIsolationLevel, setIsolationLevelName, setName, setPropagationBehavior, setPropagationBehaviorName, setReadOnly, setTimeout, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.transaction.TransactionDefinition |
---|
getIsolationLevel, getName, getPropagationBehavior, getTimeout, isReadOnly |
Field Detail |
---|
ApplicationExceptionManager applicationExceptionManager
Constructor Detail |
---|
public Ejb3TransactionAttribute(ApplicationExceptionManager appExManager)
Method Detail |
---|
public boolean rollbackOn(java.lang.Throwable ex)
rollbackOn
in interface org.springframework.transaction.interceptor.TransactionAttribute
rollbackOn
in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |