com.sun.xml.ws.transport.local
Class LocalTransportFactory
java.lang.Object
com.sun.xml.ws.api.pipe.TransportTubeFactory
com.sun.xml.ws.transport.local.LocalTransportFactory
public final class LocalTransportFactory
- extends TransportTubeFactory
TransportPipeFactory
for the local transport.
The syntax of the endpoint address is:
local:///path/to/exploded/war/image?portLocalName
If the service only contains one port, the ?portLocalName portion
can be omitted.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalTransportFactory
public LocalTransportFactory()
doCreate
public Tube doCreate(@NotNull
ClientTubeAssemblerContext context)
- Description copied from class:
TransportTubeFactory
- Creates a transport
Tube
for the given port, if this factory can do so,
or return null.
- Specified by:
doCreate
in class TransportTubeFactory
- Parameters:
context
- Object that captures various contextual information
that can be used to determine the tubeline to be assembled.
- Returns:
- null to indicate that this factory isn't capable of creating a transport
for this port (which causes the caller to search for other
TransportTubeFactory
s
that can. Or non-null.
createServerService
protected static WSEndpoint createServerService(URI adrs)
- The local transport works by looking at the exploded war file image on
a file system.
TODO: Currently it expects the PortName to be appended to the endpoint address
This needs to be expanded to take Service and Port QName as well.
parseEndpoints
protected static List<WSEndpoint> parseEndpoints(String outputDir)
throws IOException
- Throws:
IOException