From: <ad...@jb...> - 2005-05-02 16:22:20
|
I think chaining is likely to lead all sorts of linkage errors or Class Casts. If you don't want an MBean to run under its own classloader you can do this, e.g. just doing a plain registerMBean without specifying a classloader will do this. Or could not use a JMX invocation and allow a getInstance() method to bypass the JMX Bus. A more general solution would be to add metadata on which operations should be run in the caller classloader versus the deployment classloader like lifecycle operations. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876170#3876170 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876170 |