[jboss-dev-forums] [Design of JBoss Deployment Framework] - Designing of jain-slee deployers for Jboss5.

vickyk do-not-reply at jboss.com
Sun Nov 16 05:38:49 EST 2008


We have starting writing the jain-slee(mobicents components)  deployers for Jbos5. I had created couple of deployers as 

<?xml version="1.0" encoding="UTF-8"?>
  | <deployment xmlns="urn:jboss:bean-deployer:2.0">
  | 
  |    <bean name="SleeParserDeployer" class="org.mobicents.slee.container.deployment.jboss5.SleeParserDeployer" />
  | 
  |    <bean name="SleeDeployer" class="org.mobicents.slee.container.deployment.jboss5.SleeDeployer">
  | 	<constructor><parameter><inject bean="JMXKernel" property="serviceController"/></parameter></constructor>
  |    </bean>
  | 
  | </deployment>
  | 

The slee deployment units are packaged as .jar artifact and thus existing Structural Jar Deployer should work as the structural deployer for this deployment unit.
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.

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 ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189650#4189650

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189650



More information about the jboss-dev-forums mailing list