protected void doDeploy(ObjectName deployer, Target target, boolean finished) throws Exception {
Object[] args = {moduleArchive, deploymentPlan};
List objectNames = (List) kernel.invoke(deployer, "deploy", args, DEPLOY_SIG);
if (objectNames == null || objectNames.isEmpty()) {
DeploymentException deploymentException = new DeploymentException("Got empty list");
deploymentException.printStackTrace();
throw deploymentException;
}
String parentName = (String) objectNames.get(0);
String[] childIDs = new String[objectNames.size()-1];
for (int j=0; j < childIDs.length; j++) {