コード例 #1
0
 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());
     }
   }
 }
コード例 #2
0
 @Override
 public void undeploy(final DeploymentUnit depUnit) {
   depUnit.removeAttachment(OSGiConstants.OSGI_METADATA_KEY);
 }
 public void undeploy(final DeploymentUnit context) {
   context.removeAttachment(ScisMetaData.ATTACHMENT_KEY);
 }
コード例 #4
0
 public void undeploy(final DeploymentUnit deploymentUnit) {
   deploymentUnit.removeAttachment(Attachments.JBOSS_APP_METADATA);
 }