spring-framework / org.springframework.aop.interceptor / ExposeBeanNameAdvisors / createAdvisorIntroducingNamedBean

createAdvisorIntroducingNamedBean

open static fun createAdvisorIntroducingNamedBean(beanName: String): Advisor

Create a new advisor that will expose the given bean name, introducing the NamedBean interface to make the bean name accessible without forcing the target object to be aware of this Spring IoC concept.

Parameters

beanName - the bean name to expose