Exemplo n.º 1
0
 /** {@inheritDoc} */
 public synchronized void stop(StopContext context) {
   final SocketBinding binding = this.binding.getValue();
   binding.getSocketBindings().getNamedRegistry().unregisterBinding(binding.getName());
   final Connector connector = this.connector;
   getWebServer().removeConnector(connector);
   this.connector = null;
 }
Exemplo n.º 2
0
 @Override
 public String getSocketBindingName() {
   return binding.getName();
 }