"scott.stark(a)jboss.org" wrote :
| The reference to the parent should not hold anything as the proxy is created by the
child class loader. Unless there is an outside reference to the proxy, the proxy and the
class loader created by MBeanProxyExt would be available for gc.
If there is a reference to the created proxy, the classLoader is referenced anyway.
The child classLoader (proxyInstance.getClass().getClassLoader()) will have a reference to
the classLoader passed to the constructor. (parent classLoader).
So, you still need to release the reference to the created proxy if you want to not hold
redeployments. And if you still need to clean the reference why not just use
MBeanProxy.get()?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961059#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...