org.apache.xmlrpc.server
Interface XmlRpcHandlerMapping

All Known Subinterfaces:
XmlRpcListableHandlerMapping
All Known Implementing Classes:
AbstractReflectiveHandlerMapping, PropertyHandlerMapping

public interface XmlRpcHandlerMapping

Maps from a handler name to a handler object.

Since:
1.2

Method Summary
 XmlRpcHandler getHandler(java.lang.String handlerName)
          Return the handler for the specified handler name.
 

Method Detail

getHandler

XmlRpcHandler getHandler(java.lang.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-2010 The Apache Software Foundation. All Rights Reserved.