private static class ConfigurationClassEnhancer.BeanFactoryAwareMethodInterceptor extends java.lang.Object implements ConfigurationClassEnhancer.ConditionalCallback
BeanFactoryAware.setBeanFactory(BeanFactory)
on @Configuration
class instances for the purpose of recording the BeanFactory
.Modifier | Constructor and Description |
---|---|
private |
ConfigurationClassEnhancer.BeanFactoryAwareMethodInterceptor() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
intercept(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args,
MethodProxy proxy) |
boolean |
isMatch(java.lang.reflect.Method candidateMethod) |
private ConfigurationClassEnhancer.BeanFactoryAwareMethodInterceptor()
public boolean isMatch(java.lang.reflect.Method candidateMethod)
isMatch
in interface ConfigurationClassEnhancer.ConditionalCallback
public java.lang.Object intercept(java.lang.Object obj, java.lang.reflect.Method method, java.lang.Object[] args, MethodProxy proxy) throws java.lang.Throwable
java.lang.Throwable