Mikhail Kolesnikov [http://community.jboss.org/people/Gloomy] created the 
discussion

"Custom Deployer - migrate from JBoss4.2"

To view the discussion, visit: http://community.jboss.org/message/587812#587812

--------------------------------------------------------------
In JBoss4 there is a class +org.jboss.deployment.SubDeployerSupport+
Using this class I'm develop custom deployer, that now used in development and 
production too.

In that deployer I'm override method
+protected void processNestedDeployments(DeploymentInfo di)+
and some other methods too.

Using internal config file +deployment.xml+ I'm *sort and filter 
subdeployments* as needed by business requirements. Obtain information about 
deployed package and deployment status. I'm create MBean for obtain information 
about sub-deployments via JMX console. And more other things...

Now our team planned to migrate on JBoss5 (may be 6). And I see that 
+SubDeployerSupport+ is comletely not usefull in JBoss 5 and later.

I'm trying to use classes:
* +org.jboss.deployers.spi.deployer.helpers.AbstractDeployer+
* +org.jboss.deployers.vfs.plugins.structure.AbstractVFSStructureDeployer+
With some settings such as:
* +setStage(DeploymentStages.INSTALLED);+
* +setStage(DeploymentStages.PRE_REAL);+
* +setRelativeOrder(...);+
With a combination of such parameters I'm can obtain deployment status and list 
of deployments. But I'm still can't sort and filter subdeployments!

+*The question was: how I must use Deployer in JBoss5 (6) for sort and filter 
subdeployments?*+
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/587812#587812]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to