| java.lang.Object org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
Field Summary | |
final protected Log | logger |
logger | final protected Log logger(Code) | | Logger available to subclasses
|
addTransactionalMethod | public void addTransactionalMethod(String name, TransactionAttribute attr)(Code) | | Add an attribute for a transactional method.
Method names can end or start with "*" for matching multiple methods.
Parameters: name - class and method name, separated by a dot Parameters: attr - attribute associated with the method throws: IllegalArgumentException - in case of an invalid name |
addTransactionalMethod | public void addTransactionalMethod(Class clazz, String mappedName, TransactionAttribute attr)(Code) | | Add an attribute for a transactional method.
Method names can end or start with "*" for matching multiple methods.
Parameters: clazz - target interface or class Parameters: mappedName - mapped method name Parameters: attr - attribute associated with the method |
addTransactionalMethod | public void addTransactionalMethod(Method method, TransactionAttribute attr)(Code) | | Add an attribute for a transactional method.
Parameters: method - the method Parameters: attr - attribute associated with the method |
hashCode | public int hashCode()(Code) | | |
isMatch | protected boolean isMatch(String methodName, String mappedName)(Code) | | Return if the given method name matches the mapped name.
The default implementation checks for "xxx*", "*xxx" and "*xxx*"
matches, as well as direct equality.
Parameters: methodName - the method name of the class Parameters: mappedName - the name in the descriptor if the names match See Also: org.springframework.util.PatternMatchUtils.simpleMatch(StringString) |
|
|