com.sun.xml.ws.transport.tcp.server.glassfish
Class WSTCPLifeCycleModule
java.lang.Object
com.sun.xml.ws.transport.tcp.server.WSTCPModule
com.sun.xml.ws.transport.tcp.server.glassfish.WSTCPLifeCycleModule
- All Implemented Interfaces:
- com.sun.appserv.server.LifecycleListener
public final class WSTCPLifeCycleModule
- extends WSTCPModule
- implements com.sun.appserv.server.LifecycleListener
GlassFish lifecycle module, which works as SOAP/TCP endpoints registry.
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSTCPLifeCycleModule
public WSTCPLifeCycleModule()
handleEvent
public void handleEvent(@NotNull
com.sun.appserv.server.LifecycleEvent lifecycleEvent)
throws com.sun.appserv.server.ServerLifecycleException
- Specified by:
handleEvent in interface com.sun.appserv.server.LifecycleListener
- Throws:
com.sun.appserv.server.ServerLifecycleException
register
public void register(@NotNull
String contextPath,
@NotNull
List<TCPAdapter> adapters)
- Specified by:
register in class WSTCPModule
free
public void free(@NotNull
String contextPath,
@NotNull
List<TCPAdapter> adapters)
- Specified by:
free in class WSTCPModule
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.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.