TransactionAttributeSource implementation that iterates
over a given array of TransactionAttributeSource instances.
| Modifier and Type | Field and Description |
|---|---|
| private final TransactionAttributeSource[] |
| Access | Constructor and Description |
|---|---|
| public | CompositeTransactionAttributeSource(TransactionAttributeSource...
the TransactionAttributeSource instances to combine transactionAttributeSources)Create a new CompositeTransactionAttributeSource for the given sources. |
| Modifier and Type | Method and Description |
|---|---|
| public TransactionAttribute | getTransactionAttribute(Method
the method to introspect method, Class<?> the target class (may be targetClass)null,
in which case the declaring class of the method must be used)Implements org. Return the transaction attribute for the given method,
or |
| public final TransactionAttributeSource[] | getTransactionAttributeSources()
Return the TransactionAttributeSource instances that this CompositeTransactionAttributeSource combines. |
| public boolean | isCandidateClass(Class<?>
the class to introspect targetClass)Overrides default org. Determine whether the given class is a candidate for transaction attributes
in the metadata format of this |
| transactionAttributeSources | back to summary |
|---|---|
| private final TransactionAttributeSource[] transactionAttributeSources | |
| CompositeTransactionAttributeSource | back to summary |
|---|---|
| public CompositeTransactionAttributeSource(TransactionAttributeSource... transactionAttributeSources) Create a new CompositeTransactionAttributeSource for the given sources.
| |
| getTransactionAttribute | back to summary |
|---|---|
| public TransactionAttribute getTransactionAttribute(Method method, Class<?> targetClass) Implements org. Doc from org. Return the transaction attribute for the given method,
or
| |
| getTransactionAttributeSources | back to summary |
|---|---|
| public final TransactionAttributeSource[] getTransactionAttributeSources() Return the TransactionAttributeSource instances that this CompositeTransactionAttributeSource combines. | |
| isCandidateClass | back to summary |
|---|---|
| public boolean isCandidateClass(Class<?> targetClass) Overrides default org. Doc from org. Determine whether the given class is a candidate for transaction attributes
in the metadata format of this If this method returns | |