Public Member Functions | |
XmlRpcTransport | getTransport () |
XmlRpcLocalTransportFactory (XmlRpcClient pClient) | |
Private Attributes | |
final XmlRpcTransport | LOCAL_TRANSPORT = new XmlRpcLocalTransport(getClient()) |
A transport factory being used for local XML-RPC calls. Local XML-RPC calls are mainly useful for development and unit testing: Both client and server are runing within the same JVM and communication is implemented in simple method invokcations.
This class is thread safe and the returned instance of org.apache.xmlrpc.client.XmlRpcTransport will always return the same object, an instance of XmlRpcLocalTransport
Definition at line 30 of file XmlRpcLocalTransportFactory.java.
org.apache.xmlrpc.client.XmlRpcLocalTransportFactory.XmlRpcLocalTransportFactory | ( | XmlRpcClient | pClient | ) | [inline] |
Creates a new instance, operated by the given client.
pClient | The client, which will invoke the factory. |
Definition at line 34 of file XmlRpcLocalTransportFactory.java.
Returns an instance of XmlRpcTransport. This may be a singleton, but the caller should not depend on that: A new instance may as well be created for any request.
Implements org.apache.xmlrpc.client.XmlRpcTransportFactory.
Definition at line 40 of file XmlRpcLocalTransportFactory.java.
final XmlRpcTransport org.apache.xmlrpc.client.XmlRpcLocalTransportFactory.LOCAL_TRANSPORT = new XmlRpcLocalTransport(getClient()) [private] |
Definition at line 38 of file XmlRpcLocalTransportFactory.java.