org.codehaus.plexus.xmlrpc
public class DefaultXmlRpcComponent extends AbstractLogEnabled implements Contextualizable, Initializable, Startable, XmlRpcComponent
Version: $Id: DefaultXmlRpcComponent.java 2752 2005-10-24 10:41:24Z evenisse $
UNKNOWN: Handle XmlRpc.setDebug(boolean)
Method Summary | |
---|---|
void | acceptClient(String address)
Add an IP address to the list of accepted clients. |
void | addMessageListener(XmlRpcMessageListener listener) Add message listener. |
void | contextualize(Context context) |
void | denyClient(String address)
Add an IP address to the list of denied clients. |
Object | executeRpc(URL url, String methodName, Vector params)
Client's interface to XML-RPC.
|
void | initialize() |
void | messageReceived(String message) Message received. |
void | registerHandler(Object handler)
Register an Object as a default handler for the service.
|
void | registerHandler(String handlerName, Object handler)
Register an Object as a handler for the service.
|
void | setParanoid(boolean state)
Switch client filtering on/off.
|
void | start() |
void | stop() |
void | unregisterHandler(String handlerName)
Unregister a handler.
|
Parameters: address The address to add to the list.
See Also: DefaultXmlRpcComponent DefaultXmlRpcComponent
Parameters: address The address to add to the list.
See Also: DefaultXmlRpcComponent DefaultXmlRpcComponent
Parameters: url A URL. methodName A String with the method name. params A Vector with the parameters.
Returns: An Object.
Throws: XmlRpcException IOException
Parameters: handler The handler to use.
Throws: XmlRpcException IOException
Parameters: handlerName The name the handler is registered under. handler The handler to use.
Throws: XmlRpcException If an XmlRpcException occurs. IOException If an IOException occurs.
Parameters: state Whether to filter clients.
See Also: DefaultXmlRpcComponent DefaultXmlRpcComponent
Parameters: handlerName The name of the handler to unregister.