Class ScannedResourceAdvisor.ScannedResourceAdvisorHelper
- java.lang.Object
-
- net.cofcool.chaos.server.core.aop.ScannedResourceAdvisor.ScannedResourceAdvisorHelper
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
- Enclosing class:
- ScannedResourceAdvisor
public static final class ScannedResourceAdvisor.ScannedResourceAdvisorHelper extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
实现BeanPostProcessor接口把ScannedMethodInterceptor实例注入到ScannedResourceAdvisor中, 不使用 "Spring Bean" 注入的原因是防止ScannedMethodInterceptor实例提早创建从而影响应用其它实例的生命周期
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectpostProcessAfterInitialization(Object bean, String beanName)
-
-
-
Method Detail
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
-