com.sun.xml.ws.transport.tcp.server
Class WSTCPModule

java.lang.Object
  extended by com.sun.xml.ws.transport.tcp.server.WSTCPModule
Direct Known Subclasses:
WSTCPLifeCycleModule, WSTCPTomcatRegistry

public abstract class WSTCPModule
extends java.lang.Object

WSTCPModule. Singlton class, which contains SOAP/TCP related information.


Field Summary
protected static java.util.logging.Logger logger
           
 
Constructor Summary
WSTCPModule()
           
 
Method Summary
abstract  void free(java.lang.String contextPath, java.util.List<TCPAdapter> adapters)
           
static WSTCPModule getInstance()
          Method returns initialized WSTCPModule instance
abstract  int getPort()
          Returns port, SOAP/TCP is listening on.
abstract  void register(java.lang.String contextPath, java.util.List<TCPAdapter> adapters)
           
protected static void setInstance(WSTCPModule instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final java.util.logging.Logger logger
Constructor Detail

WSTCPModule

public WSTCPModule()
Method Detail

getInstance

@NotNull
public static WSTCPModule getInstance()
Method returns initialized WSTCPModule instance

Throws:
java.lang.IllegalStateException - if instance was not initialized

setInstance

protected static void setInstance(WSTCPModule instance)

register

public abstract void register(@NotNull
                              java.lang.String contextPath,
                              @NotNull
                              java.util.List<TCPAdapter> adapters)

free

public abstract void free(@NotNull
                          java.lang.String contextPath,
                          @NotNull
                          java.util.List<TCPAdapter> adapters)

getPort

public abstract int getPort()
Returns port, SOAP/TCP is listening on.

Returns:
the port, SOAP/TCP is linstening on. -1 if SOAP/TCP doesn't open own TCP port, but uses connections provided by runtime.