|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis.client.Transport
org.apache.axis.transport.local.LocalTransport
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.
Field Summary | |
static String |
LOCAL_SERVER
|
static String |
REMOTE_SERVICE
|
Fields inherited from class org.apache.axis.client.Transport |
transportName, url |
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. |
Method Summary | |
void |
setRemoteService(String remoteServiceName)
Use this to indicate a particular "remote" service which should be invoked on the target AxisServer. |
void |
setupMessageContextImpl(MessageContext mc,
Call call,
AxisEngine engine)
Set up any transport-specific derived properties in the message context. |
Methods inherited from class org.apache.axis.client.Transport |
getTransportName, getUrl, processReturnedMessageContext, setTransportName, setupMessageContext, setUrl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String LOCAL_SERVER
public static final String REMOTE_SERVICE
Constructor Detail |
public LocalTransport()
public LocalTransport(AxisServer server)
server
- an AxisServer which will bubble down to the LocalSenderMethod Detail |
public void setRemoteService(String remoteServiceName)
remoteServiceName
- the name of the remote service to invokepublic void setupMessageContextImpl(MessageContext mc, Call call, AxisEngine engine)
setupMessageContextImpl
in class Transport
engine
- the engine containing the registries
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |