[jboss-dev-forums] [Design of POJO Server] - Re: What's the status of HEAD?
adrian@jboss.org
do-not-reply at jboss.com
Mon Oct 2 09:41:05 EDT 2006
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#3975484
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975484
More information about the jboss-dev-forums
mailing list