public void addHandler(String handlername, Object handler)
    {        
    	logger.info("Registered " + handlername + " for " + handler.getClass());
        if (handler instanceof XmlRpcHandler)
        {
            handlers.put(handlername, handler);
        }
        else if (handler != null)
        {
            handlers.put(handlername, new Invoker(handler));
        }
    }