org.apache.axis2.engine
Class ListenerManager
java.lang.Object
org.apache.axis2.engine.ListenerManager
- public class ListenerManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultConfigurationContext
public static ConfigurationContext defaultConfigurationContext
ListenerManager
public ListenerManager()
init
public void init(ConfigurationContext configCtx)
getConfigctx
public ConfigurationContext getConfigctx()
getEPRforService
public EndpointReference getEPRforService(String serviceName,
String opName,
String transportName)
throws AxisFault
- To get an EPR for a given service
- Parameters:
serviceName
- : Name of the servicetransportName
- : name of the trasport can be null , if it is null then
- Returns:
- String
- Throws:
AxisFault
start
public void start()
- To start all the transports
startSystem
public void startSystem(ConfigurationContext configurationContext)
stop
public void stop()
throws AxisFault
- To stop all the transports
- Throws:
AxisFault
addListener
public void addListener(TransportInDescription trsIn,
boolean started)
throws AxisFault
- Parameters:
trsIn
- : Transport in description (which contains Transport Listener)started
- : whether transport Listener running or not
- Throws:
AxisFault
- : will throw AxisFault if something goes wrong
isListenerRunning
public boolean isListenerRunning(String transportName)
isStopped
public boolean isStopped()