private Object getInstance(XmlRpcRequest pRequest) throws XmlRpcException {
return requestProcessorFactory.getRequestProcessor(pRequest);
}
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
AuthenticationHandler authHandler = mapping.getAuthenticationHandler();
if (authHandler != null && !authHandler.isAuthorized(pRequest)) {
throw new XmlRpcNotAuthorizedException("Not authorized");
}
Object[] args = new Object[pRequest.getParameterCount()];
for (int j = 0; j < args.length; j++) {
args[j] = pRequest.getParameter(j);