public void stop() { endpoint.getLifecycleHandler().stop(endpoint); }
public void stop() { endpoint.getLifecycleHandler().stop(endpoint); }
@Override public void stop(Deployment dep) { Service service = dep.getService(); if (service != null) { for (Endpoint ep : service.getEndpoints()) { LifecycleHandler lifecycleHandler = getLifecycleHandler(ep, false); if (lifecycleHandler != null) lifecycleHandler.stop(ep); } } }
@Override public void stop(final StopContext context) { WSLogger.ROOT_LOGGER.stopping(name); endpoint.getLifecycleHandler().stop(endpoint); endpoint.setSecurityDomainContext(null); unregisterEndpoint(endpoint); final List<RecordProcessor> processors = endpoint.getRecordProcessors(); for (final RecordProcessor processor : processors) { unregisterRecordProcessor(processor, endpoint); } }
@Override public void stop(Deployment dep) { for (final Endpoint ep : dep.getService().getEndpoints()) { if (ep.getLifecycleHandler() != null) { ep.getLifecycleHandler().stop(ep); } if (stopServices) { final DeploymentUnit unit = getRequiredAttachment(dep, DeploymentUnit.class); EndpointService.uninstall(ep, unit); } } }
@Override public void stop(Deployment dep) { for (final Endpoint ep : dep.getService().getEndpoints()) { if (ep.getLifecycleHandler() != null) { ep.getLifecycleHandler().stop(ep); } if (stopServices) { final DeploymentUnit unit = getRequiredAttachment(dep, DeploymentUnit.class); EndpointService.uninstall(ep, unit); } } }
@Override public void stop(Deployment dep) { if (stopServices) { final DeploymentUnit unit = getRequiredAttachment(dep, DeploymentUnit.class); for (final Endpoint ep : dep.getService().getEndpoints()) { LifecycleHandler lifecycleHandler = getLifecycleHandler(ep, false); if (lifecycleHandler != null) lifecycleHandler.stop(ep); EndpointService.uninstall(ep, unit); } } else { super.stop(dep); } }
@Override public void stop(final StopContext context) { WSLogger.ROOT_LOGGER.stopping(name); ServiceContainerEndpointRegistry.unregister(aliasName, endpoint); endpoint.getLifecycleHandler().stop(endpoint); endpoint.setSecurityDomainContext(null); unregisterEndpoint(endpoint); final List<RecordProcessor> processors = endpoint.getRecordProcessors(); for (final RecordProcessor processor : processors) { unregisterRecordProcessor(processor, endpoint); } }