- java.lang.Object
-
- com.sun.xml.ws.transport.tcp.server.WSTCPModule
-
- Direct Known Subclasses:
WSTCPTomcatRegistry
public abstract class WSTCPModule extends Object
WSTCPModule. Singlton class, which contains SOAP/TCP related information.- Author:
- Alexey Stashok
-
-
Constructor Summary
Constructors Constructor Description WSTCPModule()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.sun.xml.ws.api.server.WSEndpoint<ServiceChannelWSImpl>createServiceChannelEndpoint()abstract voidfree(String contextPath, List<TCPAdapter> adapters)static WSTCPModulegetInstance()Method returns initialized WSTCPModule instanceabstract intgetPort()Returns port, SOAP/TCP is listening on.abstract voidregister(String contextPath, List<TCPAdapter> adapters)protected static voidsetInstance(WSTCPModule instance)
-
-
-
Field Detail
-
logger
protected static final Logger logger
-
-
Method Detail
-
getInstance
@NotNull public static WSTCPModule getInstance()
Method returns initialized WSTCPModule instance- Throws:
IllegalStateException- if instance was not initialized
-
setInstance
protected static void setInstance(WSTCPModule instance)
-
createServiceChannelEndpoint
public com.sun.xml.ws.api.server.WSEndpoint<ServiceChannelWSImpl> createServiceChannelEndpoint()
-
register
public abstract void register(@NotNull String contextPath, @NotNull List<TCPAdapter> adapters)
-
free
public abstract void free(@NotNull String contextPath, @NotNull 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.
-
-