Class WSTCPTomcatRegistry
- java.lang.Object
-
- com.sun.xml.ws.transport.tcp.server.WSTCPModule
-
- com.sun.xml.ws.transport.tcp.server.tomcat.WSTCPTomcatRegistry
-
- All Implemented Interfaces:
TCPMessageListener
public class WSTCPTomcatRegistry extends WSTCPModule implements TCPMessageListener
- Author:
- Alexey Stashok
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.transport.tcp.server.WSTCPModule
logger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfree(String contextPath, List<TCPAdapter> adapters)intgetPort()Returns port, SOAP/TCP is listening on.voidonError(ChannelContext channelContext, WSTCPError error)voidonMessage(ChannelContext channelContext)voidregister(String contextPath, List<TCPAdapter> adapters)protected static voidsetInstance(WSTCPModule instance)-
Methods inherited from class com.sun.xml.ws.transport.tcp.server.WSTCPModule
createServiceChannelEndpoint, getInstance
-
-
-
-
Method Detail
-
setInstance
protected static void setInstance(WSTCPModule instance)
-
getPort
public int getPort()
Description copied from class:WSTCPModuleReturns port, SOAP/TCP is listening on.- Specified by:
getPortin classWSTCPModule- Returns:
- the port, SOAP/TCP is linstening on. -1 if SOAP/TCP doesn't open own TCP port, but uses connections provided by runtime.
-
onMessage
public void onMessage(ChannelContext channelContext) throws IOException
- Specified by:
onMessagein interfaceTCPMessageListener- Throws:
IOException
-
onError
public void onError(ChannelContext channelContext, WSTCPError error) throws IOException
- Specified by:
onErrorin interfaceTCPMessageListener- Throws:
IOException
-
register
public void register(String contextPath, List<TCPAdapter> adapters)
- Specified by:
registerin classWSTCPModule
-
free
public void free(String contextPath, List<TCPAdapter> adapters)
- Specified by:
freein classWSTCPModule
-
-