ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
BloggerAPIHandler bloggerApi = (BloggerAPIHandler)ctx.getBean("bloggerApiHandler");
xmlrpc.addHandler("blogger", bloggerApi);
MetaWeblogAPIHandler metaweblogApi = (MetaWeblogAPIHandler)ctx.getBean("metaweblogApiHandler");
xmlrpc.addHandler("metaWeblog", metaweblogApi);
PebbleAPIHandler pebbleApi = (PebbleAPIHandler)ctx.getBean("pebbleApiHandler");
xmlrpc.addHandler("pebble", pebbleApi);