public abstract class DelegatingTransactionAttribute extends DelegatingTransactionDefinition implements TransactionAttribute, Serializable
TransactionAttribute implementation that delegates all calls to a given target
 TransactionAttribute instance. Abstract because it is meant to be subclassed,
 with subclasses overriding specific methods that are not supposed to simply delegate
 to the target instance.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 and Description | 
|---|
DelegatingTransactionAttribute(TransactionAttribute targetAttribute)
Create a DelegatingTransactionAttribute for the given target attribute. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getQualifier()
Return a qualifier value associated with this transaction attribute. 
 | 
boolean | 
rollbackOn(Throwable ex)
Should we roll back on the given exception? 
 | 
equals, getIsolationLevel, getName, getPropagationBehavior, getTimeout, hashCode, isReadOnly, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIsolationLevel, getName, getPropagationBehavior, getTimeout, isReadOnlypublic DelegatingTransactionAttribute(TransactionAttribute targetAttribute)
targetAttribute - the target TransactionAttribute to delegate topublic String getQualifier()
TransactionAttributeThis may be used for choosing a corresponding transaction manager to process this specific transaction.
getQualifier in interface TransactionAttributepublic boolean rollbackOn(Throwable ex)
TransactionAttributerollbackOn in interface TransactionAttributeex - the exception to evaluate