org.apache.axis2.engine
Class ListenerManager

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

public class ListenerManager
extends java.lang.Object


Field Summary
static ConfigurationContext defaultConfigurationContext
           
 
Constructor Summary
ListenerManager()
           
 
Method Summary
 void addListener(TransportInDescription trsIn, boolean started)
           
 void destroy()
           
 ConfigurationContext getConfigctx()
           
 EndpointReference getEPRforService(java.lang.String serviceName, java.lang.String opName, java.lang.String transportName)
          To get an EPR for a given service
 void init(ConfigurationContext configCtx)
           
 boolean isListenerRunning(java.lang.String transportName)
           
 boolean isStopped()
           
 void start()
          To start all the transports
 void startSystem(ConfigurationContext configurationContext)
           
 void stop()
          Stop all the transports and notify modules of shutdown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultConfigurationContext

public static ConfigurationContext defaultConfigurationContext
Constructor Detail

ListenerManager

public ListenerManager()
Method Detail

init

public void init(ConfigurationContext configCtx)

getConfigctx

public ConfigurationContext getConfigctx()

getEPRforService

public EndpointReference getEPRforService(java.lang.String serviceName,
                                          java.lang.String opName,
                                          java.lang.String transportName)
                                   throws AxisFault
To get an EPR for a given service

Parameters:
serviceName - : Name of the service
transportName - : 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
Stop all the transports and notify modules of shutdown.

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(java.lang.String transportName)

isStopped

public boolean isStopped()

destroy

public void destroy()
             throws AxisFault
Throws:
AxisFault


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.