[jboss-dev-forums] [Design of JBoss Deployment Framework] - Re: Designing of jain-slee deployers for Jboss5.
alesj
do-not-reply at jboss.com
Sun Nov 16 06:31:01 EST 2008
"vickyk" wrote :
|
| | <bean name="SleeDeployer" class="org.mobicents.slee.container.deployment.jboss5.SleeDeployer">
| | <constructor><parameter><inject bean="JMXKernel" property="serviceController"/></parameter></constructor>
| | </bean>
| |
|
| Now as per the jain-slee specs it is required to have the set of MBean's doing the real deployment, these MBeans are already available in the older existing deployer implementation so we got to re-use it.
| So the Deployers(parser/real) for the slee should delegate the deployment to those existing MBeans.
|
Then only inject those beans, no need for full ServiceControler.
If you need to use ServiceController, then output proper ServiceMetaData, instead of direct use of ServiceController.
"vickyk" wrote :
| I have noticed that for the war deployment the slee deployers are also invoked which looks ok to me, as per my understanding all the deployment unit in Jboss5 will passed through the chain of deployers as added in the MainDeployers.
| Am I right here ?
All deployers are invoked for every (sub)deployment.
It's up to you to 'ignore' them as soon as you know they are not relevant for your deployment unit.
e.g. contains the right attachment or only handle components or only top level ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189655#4189655
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189655
More information about the jboss-dev-forums
mailing list