Package org.jboss.as.server.deployment

Examples of org.jboss.as.server.deployment.DeploymentUnit.removeAttachment()


    @Override
    public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
        final DeploymentUnit du = phaseContext.getDeploymentUnit();
        Object config = du.removeAttachment(GateInConfigurationKey.KEY);
        if (config != null) {
            du.removeAttachment(PortletWarKey.INSTANCE);
            du.removeAttachment(GateInEarKey.KEY);
            du.removeAttachment(GateInExtKey.KEY);
        }
    }
View Full Code Here


    public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
        final DeploymentUnit du = phaseContext.getDeploymentUnit();
        Object config = du.removeAttachment(GateInConfigurationKey.KEY);
        if (config != null) {
            du.removeAttachment(PortletWarKey.INSTANCE);
            du.removeAttachment(GateInEarKey.KEY);
            du.removeAttachment(GateInExtKey.KEY);
        }
    }

    @Override
View Full Code Here

        final DeploymentUnit du = phaseContext.getDeploymentUnit();
        Object config = du.removeAttachment(GateInConfigurationKey.KEY);
        if (config != null) {
            du.removeAttachment(PortletWarKey.INSTANCE);
            du.removeAttachment(GateInEarKey.KEY);
            du.removeAttachment(GateInExtKey.KEY);
        }
    }

    @Override
    public void undeploy(DeploymentUnit context) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.