spring-framework / org.springframework.transaction.interceptor / MatchAlwaysTransactionAttributeSource / <init>

<init>

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.

Author
Colin Sampaleanu

Since
15.10.2003

See Also
org.springframework.transaction.interceptor.TransactionProxyFactoryBeanorg.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator