private static class ConfigurationClassEnhancer.DisposableBeanMethodInterceptor
extends java.lang.Object
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 |
ConfigurationClassEnhancer.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) |
static boolean |
isDestroyMethod(java.lang.reflect.Method candidateMethod) |
private ConfigurationClassEnhancer.DisposableBeanMethodInterceptor()
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 static boolean isDestroyMethod(java.lang.reflect.Method candidateMethod)