spring-framework / org.springframework.transaction.interceptor / MethodMapTransactionAttributeSource / setMethodMap

setMethodMap

open fun setMethodMap(methodMap: MutableMap<String, TransactionAttribute>): Unit

Set a name/attribute map, consisting of "FQCN.method" method names (e.g. "com.mycompany.mycode.MyClass.myMethod") and TransactionAttribute instances (or Strings to be converted to TransactionAttribute instances).

Intended for configuration via setter injection, typically within a Spring bean factory. Relies on #afterPropertiesSet() being called afterwards.

Parameters

methodMap - said Map from method name to attribute value

See Also
TransactionAttributeTransactionAttributeEditor