org.apache.axis2.engine
Class ListenerManager
java.lang.Object
org.apache.axis2.engine.ListenerManager
public class ListenerManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultConfigurationContext
public static ConfigurationContext defaultConfigurationContext
shutdownHookThread
protected org.apache.axis2.engine.ListenerManager.ListenerManagerShutdownThread shutdownHookThread
ListenerManager
public ListenerManager()
getDefaultListenerManager
public static ListenerManager getDefaultListenerManager()
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
- the name of the serviceopName
- the operation nametransportName
- the name of the transport, or null.
- 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
isShutdownHookRequired
public boolean isShutdownHookRequired()
setShutdownHookRequired
public void setShutdownHookRequired(boolean shutdownHookRequired)
Copyright © 2007 Apache Web Services Project. All Rights Reserved.