hs.hsadmin.jee/framework/src/main/java/de/hsadmin/xmlrpc/HSXmlRpcServlet.java
2016-06-10 19:34:43 +02:00

22 lines
667 B
Java

package de.hsadmin.xmlrpc;
import org.apache.xmlrpc.XmlRpcException;
import org.apache.xmlrpc.metadata.XmlRpcSystemImpl;
import org.apache.xmlrpc.server.PropertyHandlerMapping;
import org.apache.xmlrpc.server.XmlRpcHandlerMapping;
import org.apache.xmlrpc.webserver.XmlRpcServlet;
public class HSXmlRpcServlet extends XmlRpcServlet {
private static final long serialVersionUID = 1L;
@Override
protected XmlRpcHandlerMapping newXmlRpcHandlerMapping()
throws XmlRpcException {
XmlRpcHandlerMapping handlerMapping = super.newXmlRpcHandlerMapping();
XmlRpcSystemImpl.addSystemHandler((PropertyHandlerMapping) handlerMapping);
return handlerMapping;
}
}