depl.set("host", host);
depl.setApplication(application);
for (IVirtualArtifactDeployment link : ctx.getRelatedDeployments()) { depl.link(link, false); }
if (!host.deploy(application)) {
this.fireEvent(depl, Type.DeploymentFailure);
return null;
}
this.markDeployed(depl);