use of org.jboss.wsf.spi.deployment.Deployment in project wildfly by wildfly.
the class EndpointPublisherImpl method destroy.
@Override
public void destroy(Context context) throws Exception {
List<Endpoint> eps = context.getEndpoints();
if (eps == null || eps.isEmpty()) {
return;
}
Deployment dep = eps.get(0).getService().getDeployment();
try {
stopWebApp(dep);
} finally {
undeploy(dep);
}
}
Aggregations