org.apache.xmlrpc.server

Interface XmlRpcHandlerMapping

Known Subinterfaces:
XmlRpcListableHandlerMapping
Known Implementing Classes:
AbstractReflectiveHandlerMapping, PropertyHandlerMapping

public interface XmlRpcHandlerMapping

Maps from a handler name to a handler object.
Since:
1.2

Method Summary

XmlRpcHandler
getHandler(String handlerName)
Return the handler for the specified handler name.

Method Details

getHandler

public XmlRpcHandler getHandler(String handlerName)
            throws XmlRpcNoSuchHandlerException,
                   XmlRpcException
Return the handler for the specified handler name.
Parameters:
handlerName - The name of the handler to retrieve.
Returns:
Object The desired handler. Never null, an exception is thrown if no such handler is available.
Throws:
XmlRpcNoSuchHandlerException - The handler is not available.
XmlRpcException - An internal error occurred.

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.