spring-framework / org.springframework.aop.support / NameMatchMethodPointcut / addMethodName

addMethodName

open fun addMethodName(name: String): NameMatchMethodPointcut

Add another eligible method name, in addition to those already named. Like the set methods, this method is for use when configuring proxies, before a proxy is used.

NB: This method does not work after the proxy is in use, as advice chains will be cached.

Parameters

name - name of the additional method that will match

Return
this pointcut to allow for multiple additions in one line