open fun setInterceptorNames(vararg interceptorNames: String): Unit
Set the list of Advice/Advisor bean names. This must always be set to use this factory bean in a bean factory.
The referenced beans should be of type Interceptor, Advisor or Advice The last entry in the list can be the name of any bean in the factory. If it's neither an Advice nor an Advisor, a new SingletonTargetSource is added to wrap it. Such a target bean cannot be used if the "target" or "targetSource" or "targetName" property is set, in which case the "interceptorNames" array must contain only Advice/Advisor bean names.
NOTE: Specifying a target bean as final name in the "interceptorNames" list is deprecated and will be removed in a future Spring version. Use the "targetName" property instead.
See Also
org.aopalliance.intercept.MethodInterceptororg.springframework.aop.Advisororg.aopalliance.aop.Adviceorg.springframework.aop.target.SingletonTargetSource