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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...