I taught so, but none of these are retrieving an instance
Tried in the context and the context's parent.
Sorry, I forgot to think.
TestEnrichers are only active inside the container in Alpha4, there is no DeployableContainer when inside the container. DeployableContainer is only used when start/stopping/deploy/undeploying on the client side.
And there isn't a ContainerConfiguration either, is it?
So, the only thing I have left is th JBOSS_HOME var in the system?
You have the whole container.. see localhost:8080/jmx-console
Proxy any exposed JMX Bean:
MBeanProxy.get(SomeMBean.class, new ObjectName("some:jboss-jmx-bean"), "jboss")
Get a ref to the JBoss Kernel and lookup any MicroContainer Bean:
org.jboss.kernel.Kernel kernel = (Kernel)MBeanServerLocator.locateJBoss().getAttribute(new ObjectName("org.jboss:type=Server"), "Kernel");
== your free to do what ever you want
Thanks. I was squared to think I would access it only through arquillian's SPIs.