/** Remove an associated bean. */
 @Override
 public boolean removeBean(Object o) {
   if (super.removeBean(o)) {
     _container.removeBean(o);
     return true;
   }
   return false;
 }
  /**
   * Set the connectors for this server. Each connector has this server set as it's ThreadPool and
   * its Handler.
   *
   * @param connectors The connectors to set.
   */
  public void setConnectors(Connector[] connectors) {
    if (connectors != null) {
      for (int i = 0; i < connectors.length; i++) connectors[i].setServer(this);
    }

    _container.update(this, _connectors, connectors, "connector");
    _connectors = connectors;
  }
 /** @param sessionIdManager The sessionIdManager to set. */
 public void setSessionIdManager(SessionIdManager sessionIdManager) {
   if (_sessionIdManager != null) removeBean(_sessionIdManager);
   _container.update(this, _sessionIdManager, sessionIdManager, "sessionIdManager", false);
   _sessionIdManager = sessionIdManager;
   if (_sessionIdManager != null) addBean(_sessionIdManager);
 }
 /** @param threadPool The threadPool to set. */
 public void setThreadPool(ThreadPool threadPool) {
   if (_threadPool != null) removeBean(_threadPool);
   _container.update(this, _threadPool, threadPool, "threadpool", false);
   _threadPool = threadPool;
   if (_threadPool != null) addBean(_threadPool);
 }