|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.transaction.interceptor.CompositeTransactionAttributeSource
public class CompositeTransactionAttributeSource
Composite TransactionAttributeSource
implementation that iterates
over a given array of TransactionAttributeSource
instances.
Constructor Summary | |
---|---|
CompositeTransactionAttributeSource(TransactionAttributeSource[] transactionAttributeSources)
Create a new CompositeTransactionAttributeSource for the given sources. |
Method Summary | |
---|---|
TransactionAttribute |
getTransactionAttribute(Method method,
Class targetClass)
Return the transaction attribute for this method. |
TransactionAttributeSource[] |
getTransactionAttributeSources()
Return the TransactionAttributeSource instances that this CompositeTransactionAttributeSource combines. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeTransactionAttributeSource(TransactionAttributeSource[] transactionAttributeSources)
transactionAttributeSources
- the TransactionAttributeSource instances to combineMethod Detail |
---|
public final TransactionAttributeSource[] getTransactionAttributeSources()
public TransactionAttribute getTransactionAttribute(Method method, Class targetClass)
TransactionAttributeSource
getTransactionAttribute
in interface TransactionAttributeSource
method
- methodtargetClass
- target class. May be null
, in which
case the declaring class of the method must be used.
null
if none found
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |