org.apache.xmlrpc.common
Class XmlRpcController
java.lang.Object
org.apache.xmlrpc.common.XmlRpcController
public abstract class XmlRpcController
extends java.lang.Object
getConfig
public abstract XmlRpcConfig getConfig()
Returns the controllers default configuration.
- The default configuration.
getDefaultXmlRpcWorkerFactory
protected abstract XmlRpcWorkerFactory getDefaultXmlRpcWorkerFactory()
Creates the controllers default worker factory.
- The default factory for workers.
getMaxThreads
public int getMaxThreads()
Returns the maximum number of concurrent requests. This includes
both synchronous and asynchronous requests.
- Maximum number of threads or 0 to disable
the limit.
getTypeFactory
public TypeFactory getTypeFactory()
Returns the type factory.
getWorkerFactory
public XmlRpcWorkerFactory getWorkerFactory()
Returns the clients worker factory.
- The factory being used to create workers.
setMaxThreads
public void setMaxThreads(int pMaxThreads)
Sets the maximum number of concurrent requests. This includes
both synchronous and asynchronous requests.
pMaxThreads
- Maximum number of threads or 0 to disable
the limit.
setTypeFactory
public void setTypeFactory(TypeFactory pTypeFactory)
Sets the type factory.
pTypeFactory
- The type factory.
setWorkerFactory
public void setWorkerFactory(XmlRpcWorkerFactory pFactory)
Sets the clients worker factory.
pFactory
- The factory being used to create workers.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.