registry = null;
acceptor = null;
    public void destroy()    {        registry.unbind( udpService );        registry.unbind( tcpService );        registry = null;        handler = null;        udpService = null;        tcpService = null;        log.debug( "{} has stopped listening on port {}", config.getName(), new Integer( config.getPort() ) );    }