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
- Author:
- Alexey Stashok
-
Field Summary
Fields inherited from class com.sun.xml.ws.transport.tcp.server.WSTCPModule
logger -
Method Summary
Modifier and TypeMethodDescriptionvoidfree(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 Details
-
setInstance
-
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
- Specified by:
onMessagein interfaceTCPMessageListener- Throws:
IOException
-
onError
- Specified by:
onErrorin interfaceTCPMessageListener- Throws:
IOException
-
register
- Specified by:
registerin classWSTCPModule
-
free
- Specified by:
freein classWSTCPModule
-