private static class ConfigurationClassEnhancer.DisposableBeanMethodInterceptor extends java.lang.Object implements ConfigurationClassEnhancer.ConditionalCallback
DisposableBean.destroy()
on @Configuration
class instances for the purpose of de-registering CGLIB callbacks. This helps avoid
garbage collection issues. See SPR-7901.Modifier | Constructor and Description |
---|---|
private |
DisposableBeanMethodInterceptor() |
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) |
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
public boolean isMatch(java.lang.reflect.Method candidateMethod)
isMatch
in interface ConfigurationClassEnhancer.ConditionalCallback