public void undeploy(DeploymentUnit context) { final List<ResourceRoot> childRoots = context.removeAttachment(Attachments.RESOURCE_ROOTS); if (childRoots != null) { for (ResourceRoot childRoot : childRoots) { VFSUtils.safeClose(childRoot.getMountHandle()); } } }
@Override public void undeploy(final DeploymentUnit depUnit) { depUnit.removeAttachment(OSGiConstants.OSGI_METADATA_KEY); }
public void undeploy(final DeploymentUnit context) { context.removeAttachment(ScisMetaData.ATTACHMENT_KEY); }
public void undeploy(final DeploymentUnit deploymentUnit) { deploymentUnit.removeAttachment(Attachments.JBOSS_APP_METADATA); }