WebServicesContainer container = habitat.getComponent(WebServicesContainer.class);
WebServicesDeploymentMBean bean = container.getDeploymentBean();
UndeployCommandParameters params = dc.getCommandParameters(UndeployCommandParameters.class);
if (params != null) {
bean.undeploy(params.name);
}
}
@Override
public WebServicesApplication load(WebServicesContainer container, DeploymentContext context) {