mainDeployer.addDeployment(deployment);
}
catch (org.jboss.deployers.spi.DeploymentException de)
{
// Wrap in our own API's DeploymentException
throw new DeploymentException(de);
}
// Add to the map (so we can undeploy the deployable later)
this.deployableToDeploymentMap.put(vdfDeployable, deployment);
}