/** * 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. * @param beanName the bean name to expose */ public static Advisor createAdvisorIntroducingNamedBean(String beanName) { return new DefaultIntroductionAdvisor(new ExposeBeanNameIntroduction(beanName)); }
/** * 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. * @param beanName the bean name to expose */ public static Advisor createAdvisorIntroducingNamedBean(String beanName) { return new DefaultIntroductionAdvisor(new ExposeBeanNameIntroduction(beanName)); }
/** * 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. * @param beanName the bean name to expose */ public static Advisor createAdvisorIntroducingNamedBean(String beanName) { return new DefaultIntroductionAdvisor(new ExposeBeanNameIntroduction(beanName)); }