This content has been marked as final.
Show 2 replies
-
1. Re: MainDeployerImpl process managed deployment
adrian.brock Oct 5, 2007 11:05 AM (in response to alesj)Looks like a bug to me.
There's no tests for anything but the root ManagedObjects in deployers-impl -
2. Re: MainDeployerImpl process managed deployment
alesj Oct 5, 2007 11:42 AM (in response to alesj)"adrian@jboss.org" wrote:
Looks like a bug to me.
I guess this is what we want:protected void processManagedDeployment(DeploymentContext context, ManagedDeployment parent) throws DeploymentException { DeploymentUnit unit = context.getDeploymentUnit(); Map<String, ManagedObject> MOs = getManagedObjects(context); ManagedDeployment md = mgtDeploymentCreator.build(unit, MOs, parent); for (DeploymentContext childContext : context.getChildren()) { processManagedDeployment(childContext, md); } }
I'll add some tests for deeper-than-root ManagedObjects.