This test is broken.
Things like
| File resourcesDir = new File("output/eclipse-resources");
| deployPrefix = "tests/bootstrap/defaulthotdeploy/";
|
should be replaced with something like:
| URL rootOfMyTestResources = getResource("/tests/bootstrap");
|
Also can we stop using the KernelRegistry.getEntry();
The correct api is KernelController.getInstalledContext();
(or getContext() if you are not sure it is fully installed).
KernelRegistry.getEntry() will not pick up mbeans.
They are only in the controller and the MBeanRegistry.
I've got a good mind to deprecate that method,
even though I've go intention of removing it. :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975484#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...