com.sun.xml.ws.transport.tcp.server.tomcat
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setInstance
protected static void setInstance(WSTCPModule instance)
getPort
public int getPort()
- Description copied from class:
WSTCPModule
- Returns port, SOAP/TCP is listening on.
- Specified by:
getPort
in class WSTCPModule
- 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 java.io.IOException
- Specified by:
onMessage
in interface TCPMessageListener
- Throws:
java.io.IOException
onError
public void onError(ChannelContext channelContext,
WSTCPError error)
throws java.io.IOException
- Specified by:
onError
in interface TCPMessageListener
- Throws:
java.io.IOException
register
public void register(java.lang.String contextPath,
java.util.List<TCPAdapter> adapters)
- Specified by:
register
in class WSTCPModule
free
public void free(java.lang.String contextPath,
java.util.List<TCPAdapter> adapters)
- Specified by:
free
in class WSTCPModule