org.ff4j.aop
Class FeatureAdvisor
java.lang.Object
org.ff4j.aop.FeatureAdvisor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware
@Component(value="ff.advisor")
public class FeatureAdvisor
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware
When Proxified, analyze bean to eventually invoke ANOTHER implementation (flip up).
- Author:
- Cedrick LUNVEN
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureAdvisor
public FeatureAdvisor()
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean,
String beanName)
throws org.springframework.beans.BeansException
-
- Specified by:
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean,
String beanName)
throws org.springframework.beans.BeansException
-
- Specified by:
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation pMInvoc)
throws Throwable
-
- Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
-
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
Copyright © 2013. All Rights Reserved.