What you are struggling with is that we don't expose the MC api
through the deployer api. The MC is an implement detail.
The DeploymentStages create extra ControllerStates that are mostly different
from the POJO states. But it does this "on the fly". If you don't have the
deployers
installed these states don't exist.
See DeployersImpl.
Equally, some of the controller states don't have deployer stages,
they only relate to POJO/JMX/etc.
We can add a
DeploymentStage DeployerClient::getDeployerStage(String deploymentName);
which will probably give you what you want?
I don't know what you do if a deployment moves to **ERROR**
or POST_CLASSLOADER, etc? :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132423#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...