Is there any way I can add the top classloader to the LoaderRepository? If I do that 
maybe my JUnit constructions will be seen by the MBeanServer.

Something like:

ClassLoader cl = Thread.currentThread().getContextClassLoader();
LoaderRepository.addClassLoader(cl);

Then when I do:

RARDeployment rd = new RARDeployment();

My rd will be able to see the TestManagedConnectionFactory.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842832#3842832

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842832


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to