Class HotswapSpringInvocationHandler
- java.lang.Object
-
- org.hotswap.agent.plugin.spring.getbean.DetachableBeanHolder
-
- org.hotswap.agent.plugin.spring.getbean.HotswapSpringInvocationHandler
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.reflect.InvocationHandler
public class HotswapSpringInvocationHandler extends DetachableBeanHolder implements java.lang.reflect.InvocationHandler
MethodInterceptor for java.lang.reflect bean Proxies. If the bean inside the proxy is cleared, it will be retrieved from the factory on demand.- Author:
- Erki Ehtla
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HotswapSpringInvocationHandler(java.lang.Object bean, java.lang.Object beanFactry, java.lang.Class<?>[] paramClasses, java.lang.Object[] paramValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)-
Methods inherited from class org.hotswap.agent.plugin.spring.getbean.DetachableBeanHolder
detach, detachBeans, getBean, getTarget, isBeanLoaded, setTarget
-
-
-
-
Constructor Detail
-
HotswapSpringInvocationHandler
public HotswapSpringInvocationHandler(java.lang.Object bean, java.lang.Object beanFactry, java.lang.Class<?>[] paramClasses, java.lang.Object[] paramValues)- Parameters:
beanFactry- Spring beanFactorybean- Spring beanparamClasses- Parameter Classes of the Spring beanFactory method which returned the bean. The method is named ProxyReplacer.FACTORY_METHOD_NAMEparamValues- Parameter values of the Spring beanFactory method which returned the bean. The method is named ProxyReplacer.FACTORY_METHOD_NAME
-
-