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
- Author:
- Alexey Stashok
| 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 IOException
- Specified by:
onMessage in interface TCPMessageListener
- Throws:
IOException
onError
public void onError(ChannelContext channelContext,
WSTCPError error)
throws IOException
- Specified by:
onError in interface TCPMessageListener
- Throws:
IOException
register
public void register(String contextPath,
List<TCPAdapter> adapters)
- Specified by:
register in class WSTCPModule
free
public void free(String contextPath,
List<TCPAdapter> adapters)
- Specified by:
free in class WSTCPModule
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.