org.apache.xmlrpc.client

Class XmlRpcLocalTransportFactory

public class XmlRpcLocalTransportFactory extends XmlRpcTransportFactoryImpl

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 {@link org.apache.xmlrpc.client.XmlRpcTransport} will always return the same object, an instance of {@link XmlRpcLocalTransport}

Constructor Summary
XmlRpcLocalTransportFactory(XmlRpcClient pClient)
Creates a new instance, operated by the given client.
Method Summary
XmlRpcTransportgetTransport()

Constructor Detail

XmlRpcLocalTransportFactory

public XmlRpcLocalTransportFactory(XmlRpcClient pClient)
Creates a new instance, operated by the given client.

Parameters: pClient The client, which will invoke the factory.

Method Detail

getTransport

public XmlRpcTransport getTransport()
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.