Package org.jboss.wsf.spi.deployment

Examples of org.jboss.wsf.spi.deployment.Deployment.removeAttachment()


            }
            log.debug(this.aspect + " start: " + unit.getName());
            final Deployment dep = ASHelper.getRequiredAttachment(unit, WSAttachmentKeys.DEPLOYMENT_KEY);
            dep.addAttachment(DeploymentPhaseContext.class, phaseContext);
            aspect.start(dep);
            dep.removeAttachment(DeploymentPhaseContext.class);
        }
    }

    @Override
    public void internalUndeploy(org.jboss.as.server.deployment.DeploymentUnit context) {
View Full Code Here


                ep.setInvocationHandler(new InvocationHandlerJAXWS());
                ep.setState(EndpointState.STARTED);
            }
        } finally {
            if (dep != null) {
                dep.removeAttachment(ServiceTarget.class);
            }
            SecurityActions.setContextClassLoader(origClassLoader);
        }
        Deployment deployment = unit.getAttachment(WSAttachmentKeys.DEPLOYMENT_KEY);
        deployment.addAttachment(StandardContext.class, startWebApp(host, unit)); //TODO simplify and use findChild later in destroy()/stopWebApp()
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.