org.apache.axis2.client
Class ListenerManager
java.lang.Object
org.apache.axis2.client.ListenerManager
- public class ListenerManager
- extends Object
This class manages the listeners and depends heavily on static constructs and should be
re-architectured. It allows the client to initialize only one ConfigurationContext in a given JVM.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configurationContextMap
public static Map configurationContextMap
ListenerManager
public ListenerManager()
makeSureStarted
public static void makeSureStarted(String transport,
ConfigurationContext configurationContext)
throws AxisFault
- Starts a listener for a given transport if it has not already started.
- Parameters:
transport
- configurationContext
-
- Throws:
AxisFault
openSocket
public static ServerSocket openSocket(int port)
throws AxisFault
- Controls the number of server sockets kept open.
- Throws:
AxisFault
replyToEPR
public static EndpointReference replyToEPR(ConfigurationContext configurationContext,
String serviceName,
String transport)
throws AxisFault
- Returns the replyTo endpoint reference for the servicename/transport combination.
- Parameters:
serviceName
- transport
-
- Returns:
- endpoint reference
- Throws:
AxisFault
stop
public static void stop(ConfigurationContext configurationContext,
String transport)
throws AxisFault
- Throws:
AxisFault