getHandlerCollection().setHandlers(handlers);
HandlerCollection collection; if (getHandler() instanceof HandlerCollection) collection=(HandlerCollection)getHandler(); else { collection=new HandlerCollection(); setHandler(collection); }  collection.setHandlers(handlers);
    public void setHandlers(Handler[] handlers)    {        getHandlerCollection().setHandlers(handlers);    }