org.apache.axis2.engine
Class ListenerManager

java.lang.Object
  extended byorg.apache.axis2.engine.ListenerManager

public class ListenerManager
extends Object


Constructor Summary
ListenerManager()
           
 
Method Summary
 void addListener(TransportInDescription trsIn, boolean started)
           
 ConfigurationContext getConfigctx()
           
 EndpointReference getERPforService(String serviceName, String opName, String tranportName)
          To get an EPR for a given service
 void init(ConfigurationContext configCtx)
           
 boolean isListenerRunning(String transportName)
           
 boolean isStopped()
           
 void start()
          To start all the tranports
 void startSystem(ConfigurationContext configurationContext)
           
 void stop()
          To stop all the tranport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerManager

public ListenerManager()
Method Detail

init

public void init(ConfigurationContext configCtx)

getConfigctx

public ConfigurationContext getConfigctx()

getERPforService

public EndpointReference getERPforService(String serviceName,
                                          String opName,
                                          String tranportName)
                                   throws AxisFault
To get an EPR for a given service

Parameters:
serviceName - : Name of the service
tranportName - : name of the trasport can be null , if it is null then
Returns:
String
Throws:
AxisFault

start

public void start()
To start all the tranports


startSystem

public void startSystem(ConfigurationContext configurationContext)

stop

public void stop()
          throws AxisFault
To stop all the tranport

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()