|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl org.apache.xmlrpc.client.XmlRpcLocalTransportFactory
public class XmlRpcLocalTransportFactory
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
XmlRpcTransport
will always return the
same object, an instance of XmlRpcLocalTransport
Constructor Summary | |
---|---|
XmlRpcLocalTransportFactory(XmlRpcClient pClient)
Creates a new instance, operated by the given client. |
Method Summary | |
---|---|
XmlRpcTransport |
getTransport()
Returns an instance of XmlRpcTransport . |
Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl |
---|
getClient |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRpcLocalTransportFactory(XmlRpcClient pClient)
pClient
- The client, which will invoke the factory.Method Detail |
---|
public XmlRpcTransport getTransport()
XmlRpcTransportFactory
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |