com.sun.xml.ws.transport.tcp.server.tomcat
Class WSTCPTomcatRegistry

java.lang.Object
  extended by com.sun.xml.ws.transport.tcp.server.WSTCPModule
      extended by com.sun.xml.ws.transport.tcp.server.tomcat.WSTCPTomcatRegistry
All Implemented Interfaces:
TCPMessageListener

public class WSTCPTomcatRegistry
extends WSTCPModule
implements TCPMessageListener


Field Summary
 
Fields inherited from class com.sun.xml.ws.transport.tcp.server.WSTCPModule
logger
 
Method Summary
 void free(java.lang.String contextPath, java.util.List<TCPAdapter> adapters)
           
 int getPort()
          Returns port, SOAP/TCP is listening on.
 void onError(ChannelContext channelContext, WSTCPError error)
           
 void onMessage(ChannelContext channelContext)
           
 void register(java.lang.String contextPath, java.util.List<TCPAdapter> adapters)
           
protected static void setInstance(WSTCPModule instance)
           
 
Methods inherited from class com.sun.xml.ws.transport.tcp.server.WSTCPModule
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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