@Override public void stop(final StopContext stopContext) { final Host host = hostInjector.getValue(); UndertowLogger.ROOT_LOGGER.debugf("Stopping console redirect for %s", host.getName()); host.unregisterHandler(CONSOLE_PATH); }
@Override public void stop(StopContext stopContext) { host.getValue().unregisterHandler(path); host.getValue().unregisterLocation(path); }
void unregisterLocation(LocationService location) { locations.remove(location.getLocationPath()); unregisterHandler(location.getLocationPath()); undertowService.getValue().fireEvent(listener -> listener.onDeploymentStop(location.getLocationPath(), Host.this)); }
public void unregisterDeployment(final Deployment deployment) { DeploymentInfo deploymentInfo = deployment.getDeploymentInfo(); String path = getDeployedContextPath(deploymentInfo); undertowService.getValue().fireEvent(listener -> listener.onDeploymentStop(deployment, Host.this)); unregisterHandler(path); deployments.remove(deployment); UndertowLogger.ROOT_LOGGER.unregisterWebapp(path, getServer().getName()); }
@Override public void stop(final StopContext stopContext) { final Host host = hostInjector.getValue(); UndertowLogger.ROOT_LOGGER.debugf("Stopping console redirect for %s", host.getName()); host.unregisterHandler(CONSOLE_PATH); }
@Override public void stop(StopContext stopContext) { host.getValue().unregisterHandler(path); host.getValue().unregisterLocation(path); }
@Override public void stop(StopContext stopContext) { host.getValue().unregisterHandler(path); host.getValue().unregisterLocation(path); }
@Override public void stop(final StopContext stopContext) { final Host host = hostInjector.getValue(); UndertowLogger.ROOT_LOGGER.debugf("Stopping console redirect for %s", host.getName()); host.unregisterHandler(CONSOLE_PATH); }
void unregisterLocation(LocationService location) { locations.remove(location.getLocationPath()); unregisterHandler(location.getLocationPath()); undertowService.getValue().fireEvent(listener -> listener.onDeploymentStop(location.getLocationPath(), Host.this)); }
void unregisterLocation(LocationService location) { locations.remove(location.getLocationPath()); unregisterHandler(location.getLocationPath()); undertowService.getValue().fireEvent(listener -> listener.onDeploymentStop(location.getLocationPath(), Host.this)); }
public void unregisterDeployment(final Deployment deployment) { DeploymentInfo deploymentInfo = deployment.getDeploymentInfo(); String path = getDeployedContextPath(deploymentInfo); undertowService.getValue().fireEvent(listener -> listener.onDeploymentStop(deployment, Host.this)); unregisterHandler(path); deployments.remove(deployment); UndertowLogger.ROOT_LOGGER.unregisterWebapp(path, getServer().getName()); }
public void unregisterDeployment(final Deployment deployment) { DeploymentInfo deploymentInfo = deployment.getDeploymentInfo(); String path = getDeployedContextPath(deploymentInfo); undertowService.getValue().fireEvent(listener -> listener.onDeploymentStop(deployment, Host.this)); unregisterHandler(path); deployments.remove(deployment); UndertowLogger.ROOT_LOGGER.unregisterWebapp(path, getServer().getName()); }