"vickyk" wrote :
| Well we might need to prepare the ServiceMetaData and pass it to Service controller,
all this can be done before or after calling the required MBeans which does real
deployments.I will need to analyze this in more details, the point is noted.
|
No, that's exactly what I'm try to explain
--> you shouldn't be using ServiceController in any way.
If you prepare proper ServiceMetaData + output, attach it,
then the right deployer (in this case ServiceDeploymentDeployer) is gonna pick it up.
Since that's the whole purpose to have deployers running off metadata.
It's then super easy to insert additional behavior into deployment chain.
e.g.
1a) parse slee --> slee deployer --> smd transformation --> smd deployer
1b) parse slee --> slee deployer --> smd transformation --> NEW smd handling
--> smd deployer
vs.
2) parse slee --> slee deployer + to MBeanServer
Where in 2nd case this 'NEW smd handling' doesn't affect my deployment,
probably making it invalid in the worst case.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189665#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...