org.apache.axis2.transport
Interface TransportListener
- All Known Implementing Classes:
- AxisServlet, JMSListener, SimpleHTTPServer, SimpleMailListener, TCPServer
- public interface TransportListener
Class TransportListener
PARAM_PORT
public static final java.lang.String PARAM_PORT
- See Also:
- Constant Field Values
HOST_ADDRESS
public static final java.lang.String HOST_ADDRESS
- See Also:
- Constant Field Values
init
public void init(ConfigurationContext axisConf,
TransportInDescription transprtIn)
throws AxisFault
- Throws:
AxisFault
start
public void start()
throws AxisFault
- Throws:
AxisFault
stop
public void stop()
throws AxisFault
- Throws:
AxisFault
getEPRForService
public EndpointReference getEPRForService(java.lang.String serviceName,
java.lang.String ip)
throws AxisFault
- Deprecated. Transport listener can expose more than EPRs. So this method should return an array of EPRs.
Deprecating this method for now and please use getEPRsForServices instead.
- Parameters:
serviceName
- ip
-
- Throws:
AxisFault
getEPRsForService
public EndpointReference[] getEPRsForService(java.lang.String serviceName,
java.lang.String ip)
throws AxisFault
- Throws:
AxisFault
getSessionContext
public SessionContext getSessionContext(MessageContext messageContext)
- To get the sessionContext transport dependent manner. So that transport listener
can return its own implementation of session managment
- Parameters:
messageContext
- : MessageContext which has all the relavent data
- Returns:
- SessionContext
destroy
public void destroy()
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.