if (assemblyName == null) {
throw new BuildException("null assemblyName");
}
try {
DeploymentServiceMBean is = getDeploymentService();
is.shutDown(getAssemblyName());
}
catch (IOException e) {
log.error("Caught an exception shutting down assembly", e);
throw new BuildException(e);
}