[jboss-dev-forums] [Design the new POJO MicroContainer] - MainDeployer changes to reflect deployment structure

scott.stark@jboss.org do-not-reply at jboss.com
Tue Dec 12 19:26:07 EST 2006


Rather than simply add a parent notion to the DeploymentUnit, I want to change the notion of a top-level deployment to be a org.jboss.util.graph.Graph and have the deployment unit relationships mirrored in the various views:

- Structural deployers produces a Graph rather than a StructureMetaData instance of ContextInfo.
- StructureBuilder produces a Graph from the Graph
- MainDeployer.process produces a Graph
- The management view of a Graph is a Graph
- The diff between the base Graph and application of a admin change set in terms of a Graph is a Graph

This should really only affect the StructureDeployers, MainDeployer and ProfileService. Deployers would still operate on a DeploymentUnit, and existing usage of the DeploymentUnit.getDeploymentContext.getParent() would simply use the Graph. This would be accessible from the DeploymentUnit.


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

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



More information about the jboss-dev-forums mailing list