public void undeploy(DeploymentUnit deploymentUnit) { deploymentUnit.removeAttachment(Attachments.FINAL_PROPERTY_REPLACER); deploymentUnit.removeAttachment(Attachments.FINAL_PROPERTY_RESOLVER); deploymentUnit.removeAttachment(Attachments.DEPLOYMENT_PROPERTY_RESOLVERS); } }
@Override public void undeploy(DeploymentUnit deploymentUnit) { deploymentUnit.removeAttachment(WeldAttachments.CLASSES_RESOURCE_ROOT); deploymentUnit.removeAttachment(ExplicitBeanArchiveMetadataContainer.ATTACHMENT_KEY); }
@Override public void undeploy(DeploymentUnit deploymentUnit) { deploymentUnit.removeAttachment(WeldAttachments.BEAN_DEFINING_ANNOTATIONS); } }
@Override public void undeploy(DeploymentUnit context) { context.removeAttachment(UndertowAttachments.DEFAULT_SECURITY_DOMAIN); } }
@Override public void undeploy(DeploymentUnit context) { context.removeAttachment(WeldAttachments.BEAN_DEPLOYMENT_MODULE); context.removeAttachment(WeldAttachments.DEPLOYMENT_ROOT_BEAN_DEPLOYMENT_ARCHIVE); }
@Override public void undeploy(DeploymentUnit unit) { unit.removeAttachment(SingletonDeploymentDependencyProcessor.CONFIGURATION_KEY); }
@Override public void undeploy(final DeploymentUnit deploymentUnit) { deploymentUnit.removeAttachment(Attachments.JNDI_DEPENDENCIES); }
public void undeploy(DeploymentUnit deploymentUnit) { deploymentUnit.removeAttachment(Attachments.APPLICATION_CONTEXT_CONFIG); } }
public void undeploy(final DeploymentUnit deploymentUnit) { deploymentUnit.removeAttachment(Attachments.EAR_METADATA); }
@Override public void undeploy(final DeploymentUnit deploymentUnit) { deploymentUnit.removeAttachment(ServletContextAttribute.ATTACHMENT_KEY); }
public void undeploy(final DeploymentUnit context) { context.removeAttachment(ScisMetaData.ATTACHMENT_KEY); }
@Override public void deploy(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); deploymentUnit.removeAttachment(Attachments.EE_APPLICATION_CLASSES_DESCRIPTION); deploymentUnit.removeAttachment(Attachments.EE_APPLICATION_DESCRIPTION); deploymentUnit.removeAttachment(Attachments.EE_MODULE_CONFIGURATION); deploymentUnit.removeAttachment(Attachments.EE_MODULE_DESCRIPTION); deploymentUnit.removeAttachment(Attachments.MODULE_DEPLOYMENT_DESCRIPTOR_ENVIRONMENT); }
@Override public void deploy(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); deploymentUnit.removeAttachment(EjbDeploymentAttachmentKeys.EJB_INJECTIONS); deploymentUnit.removeAttachment(EjbDeploymentAttachmentKeys.APPLICATION_EXCEPTION_DETAILS); deploymentUnit.removeAttachment(EjbDeploymentAttachmentKeys.EJB_JAR_DESCRIPTION); deploymentUnit.removeAttachment(EjbDeploymentAttachmentKeys.EJB_JAR_METADATA); }
public void undeploy(DeploymentUnit deploymentUnit) { deploymentUnit.removeAttachment(Attachments.JAVA_NAMESPACE_SETUP_ACTION); deploymentUnit.getAttachmentList(org.jboss.as.ee.component.Attachments.WEB_SETUP_ACTIONS).removeIf(setupAction -> setupAction instanceof JavaNamespaceSetup); deploymentUnit.getAttachmentList(SETUP_ACTIONS).removeIf(setupAction -> setupAction instanceof JavaNamespaceSetup); deploymentUnit.removeAttachment(MODULE_CONTEXT_CONFIG); } }
@Override public void deploy(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { // Clean up job XML resolvers phaseContext.getDeploymentUnit().removeAttachment(BatchAttachments.JOB_XML_RESOLVER); // Clean jboss-all meta-data phaseContext.getDeploymentUnit().removeAttachment(BatchAttachments.BATCH_ENVIRONMENT_META_DATA); // Remove the JobOperatorService from the deployment unit phaseContext.getDeploymentUnit().removeAttachment(BatchAttachments.JOB_OPERATOR); }
@Override public void undeploy(DeploymentUnit deploymentUnit) { if (deploymentUnit.getParent() == null) { deploymentUnit.removeAttachment(WeldPortableExtensions.ATTACHMENT_KEY); } }
@Override 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()); } } }
public void undeploy(DeploymentUnit context) { final List<ResourceRoot> children = context.removeAttachment(Attachments.RESOURCE_ROOTS); if (children != null) { for (ResourceRoot childRoot : children) { VFSUtils.safeClose(childRoot.getMountHandle()); } } } }
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(DeploymentUnit context) { ValidatorFactory validatorFactory = context.getAttachment(BeanValidationAttachments.VALIDATOR_FACTORY); if ((validatorFactory != null) && (!WeldDeploymentMarker.isPartOfWeldDeployment(context))) { // If the ValidatorFactory is not CDI-enabled, close it here. Otherwise, it's // closed via CdiValidatorFactoryService before the Weld service is stopped. validatorFactory.close(); } context.removeAttachment(BeanValidationAttachments.VALIDATOR_FACTORY); }