Package org.grails.transaction
Class GroovyAwareNamedTransactionAttributeSource
- java.lang.Object
-
- org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
-
- org.grails.transaction.GroovyAwareNamedTransactionAttributeSource
-
- All Implemented Interfaces:
java.io.Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.EmbeddedValueResolverAware,org.springframework.transaction.interceptor.TransactionAttributeSource
public class GroovyAwareNamedTransactionAttributeSource extends org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource- Since:
- 1.1.1 Don't match Groovy synthetic methods
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroovyAwareNamedTransactionAttributeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.transaction.interceptor.TransactionAttributegetTransactionAttribute(java.lang.reflect.Method method, java.lang.Class targetClass)protected booleanisMatch(java.lang.String methodName, java.lang.String mappedName)voidsetTransactionalAttributes(java.util.Properties properties)-
Methods inherited from class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
addTransactionalMethod, afterPropertiesSet, equals, hashCode, setEmbeddedValueResolver, setNameMap, setProperties, toString
-
-
-
-
Method Detail
-
getTransactionAttribute
public org.springframework.transaction.interceptor.TransactionAttribute getTransactionAttribute(java.lang.reflect.Method method, java.lang.Class targetClass)- Specified by:
getTransactionAttributein interfaceorg.springframework.transaction.interceptor.TransactionAttributeSource- Overrides:
getTransactionAttributein classorg.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
-
isMatch
protected boolean isMatch(java.lang.String methodName, java.lang.String mappedName)- Overrides:
isMatchin classorg.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
-
setTransactionalAttributes
public void setTransactionalAttributes(java.util.Properties properties)
-
-