open class MatchAlwaysTransactionAttributeSource : TransactionAttributeSource, Serializable
Very simple implementation of TransactionAttributeSource which will always return the same TransactionAttribute for all methods fed to it. The TransactionAttribute may be specified, but will otherwise default to PROPAGATION_REQUIRED. This may be used in the cases where you want to use the same transaction attribute with all methods being handled by a transaction interceptor.
Author
Colin Sampaleanu
Since
15.10.2003
See Also
org.springframework.transaction.interceptor.TransactionProxyFactoryBeanorg.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator
MatchAlwaysTransactionAttributeSource()
Very simple implementation of TransactionAttributeSource which will always return the same TransactionAttribute for all methods fed to it. The TransactionAttribute may be specified, but will otherwise default to PROPAGATION_REQUIRED. This may be used in the cases where you want to use the same transaction attribute with all methods being handled by a transaction interceptor. |
open fun equals(other: Any?): Boolean |
|
open fun getTransactionAttribute(method: Method, targetClass: Class<*>): TransactionAttribute |
|
open fun hashCode(): Int |
|
open fun setTransactionAttribute(transactionAttribute: TransactionAttribute): Unit
Allows a transaction attribute to be specified, using the String form, for example, "PROPAGATION_REQUIRED". |
|
open fun toString(): String |