org.apache.axis.transport.local
Class LocalTransport
java.lang.Object
|
+--org.apache.axis.client.Transport
|
+--org.apache.axis.transport.local.LocalTransport
- public class LocalTransport
- extends Transport
A Transport which will cause an invocation via a "local" AxisServer.
Serialization will still be tested, as the requests and responses
pass through a String conversion (see LocalSender.java) - this is
primarily for testing and debugging.
This transport will either allow the LocalSender to create its own
AxisServer, or if you have one you've configured and wish to use,
you may pass it in to the constructor here.
- Author:
- Rob Jellinghaus (robj@unrealities.com), Doug Davis (dug@us.ibm.com), Glen Daniels (gdaniels@allaire.com)
Constructor Summary |
LocalTransport()
No-arg constructor, which will use an AxisServer constructed
by the LocalSender (see LocalSender.java). |
LocalTransport(AxisServer server)
Use this constructor if you have a particular server kicking
around (perhaps which you've already deployed useful stuff into)
which you'd like to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCAL_SERVER
public static final java.lang.String LOCAL_SERVER
LocalTransport
public LocalTransport()
- No-arg constructor, which will use an AxisServer constructed
by the LocalSender (see LocalSender.java).
LocalTransport
public LocalTransport(AxisServer server)
- Use this constructor if you have a particular server kicking
around (perhaps which you've already deployed useful stuff into)
which you'd like to use.
- Parameters:
server
- an AxisServer which will bubble down to the LocalSender
setupMessageContext
public void setupMessageContext(MessageContext mc,
ServiceClient serv,
AxisEngine engine)
- Set up any transport-specific derived properties in the message context.
- Overrides:
setupMessageContext
in class Transport
- Parameters:
context
- the context to set upmessage
- the client service instanceengine
- the engine containing the registries
Copyright © 2001 Apache XML Project. All Rights Reserved.