@Override
public void stop(final StopContext ctx) {
ROOT_LOGGER.stopping(name);
try {
EndpointPublisherImpl publisher = new EndpointPublisherImpl(hostInjector.getValue().getHost(), true);
publisher.destroy(wsctx);
} catch (Exception e) {
throw new RuntimeException(e);
}
}