When I'm swapping the root with unpacked on top level, must I also change the root in
VFSDeployment?
AbstractStructureBuilder.class
| public DeploymentContext populateContext(Deployment deployment, StructureMetaData
metaData) throws DeploymentException
| {
| if (deployment == null)
| throw new IllegalArgumentException("Null deployment");
| if (metaData == null)
| throw new IllegalArgumentException("Null metaData");
|
| boolean trace = log.isTraceEnabled();
| if (trace)
| log.trace("Populating deployment " + deployment.getName() + "
metaData=" + metaData);
|
| DeploymentContext result;
| try
| {
| result = createRootDeploymentContext(deployment);
| if (result == null)
| throw new IllegalStateException("Root deployment context is
null");
| result.setDeployment(deployment);
|
| ContextInfo contextInfo = metaData.getContext("");
| if (contextInfo == null)
| contextInfo = StructureMetaDataFactory.createContextInfo("",
null);
|
| // APPLY THE ContextInfo.isUnpack() check here
| // implementing it in VSFStructureBuilder
|
|
contextInfo.setPredeterminedManagedObjects(deployment.getPredeterminedManagedObjects());
| applyContextInfo(result, contextInfo);
| }
| catch (Throwable t)
| {
| throw DeploymentException.rethrowAsDeploymentException("Error populating
deployment " + deployment.getName(), t);
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144469#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...