Hello, I have a custom server that I run in JBoss within an MBean. This server needs to dynamically initialise certain objects seperate from the main core of the custom server. I tried to load these classes with using standard Class.forName(..) type stuff but I kept getting class loader errors when running within JBoss (3.2.6). How should I go about dynamically loading classes within an Mbean? The classes are likely to be bundled within different .jar files inside the MBean directory. Could I use the SPI, service provide interface? or if there a better method I should use. Any suggestions would be much appreciated as I'm not really sure what is the most "JBoss" way of solving this problem.
best wishes James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871958#3871958 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871958 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
