_selectorThread.setThreadPool(getServer().getThreadPool());
ThreadPool threadPool = getServer().getThreadPool(); _selectorThread.setThreadPool(threadPool);    if ( threadPool instanceof BoundedThreadPool) { _selectorThread.setMaxThreads( ((BoundedThreadPool)threadPool).getMaxThreads()); _selectorThread.setMinThreads( ((BoundedThreadPool)threadPool).getMinThreads()); } _selectorThread.setDisplayConfiguration(true);
    public void open() throws IOException    {    	// TODO Open server socket        try        {            _selectorThread.setPort(getPort());            _selectorThread.setGrizzlyConnector(this);            _selectorThread.setThreadPool(getServer().getThreadPool());                        if (getHost()!=null)                _selectorThread.setAddress(InetAddress.getByName(getHost()));            _selectorThread.initEndpoint();        }         catch (InstantiationException ex)        {            throw new RuntimeException(ex);        }    }