com.sun.xml.ws.transport.local
Class LocalTransportFactory

java.lang.Object
  extended by com.sun.xml.ws.api.pipe.TransportTubeFactory
      extended by 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.


Constructor Summary
LocalTransportFactory()
           
 
Method Summary
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)
           
 
Methods inherited from class com.sun.xml.ws.api.pipe.TransportTubeFactory
create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalTransportFactory

public LocalTransportFactory()
Method Detail

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 TransportTubeFactorys 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