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.
Constructor and Description |
---|
LocalTransportFactory() |
Modifier and Type | Method and Description |
---|---|
protected static WSEndpoint |
createServerService(URI adrs)
The local transport works by looking at the exploded war file image on
a file system.
|
Tube |
doCreate(ClientTubeAssemblerContext context)
Creates a transport
Tube for the given port, if this factory can do so,
or return null. |
protected static List<WSEndpoint> |
parseEndpoints(String outputDir) |
create, createDefault, createHttpTransport
public Tube doCreate(@NotNull ClientTubeAssemblerContext context)
TransportTubeFactory
Tube
for the given port, if this factory can do so,
or return null.doCreate
in class TransportTubeFactory
context
- Object that captures various contextual information
that can be used to determine the tubeline to be assembled.TransportTubeFactory
s
that can. Or non-null.protected static WSEndpoint createServerService(URI adrs)
protected static List<WSEndpoint> parseEndpoints(String outputDir) throws IOException
IOException
Copyright © 2015 Oracle Corporation. All rights reserved.