org.apache.axis2.transport
Interface TransportListener

All Known Implementing Classes:
AxisAdminServlet, AxisServlet, CustomListener, HttpCoreNIOListener, HttpCoreNIOSSLListener, JMSListener, SimpleHTTPServer, SimpleMailListener, TCPServer, XMPPListener

public interface TransportListener

Class TransportListener


Field Summary
static java.lang.String HOST_ADDRESS
           
static java.lang.String PARAM_PORT
           
 
Method Summary
 void destroy()
           
 EndpointReference getEPRForService(java.lang.String serviceName, java.lang.String ip)
          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.
 EndpointReference[] getEPRsForService(java.lang.String serviceName, java.lang.String ip)
           
 SessionContext getSessionContext(MessageContext messageContext)
          To get the sessionContext transport dependent manner.
 void init(ConfigurationContext axisConf, TransportInDescription transprtIn)
           
 void start()
           
 void stop()
           
 

Field Detail

PARAM_PORT

static final java.lang.String PARAM_PORT
See Also:
Constant Field Values

HOST_ADDRESS

static final java.lang.String HOST_ADDRESS
See Also:
Constant Field Values
Method Detail

init

void init(ConfigurationContext axisConf,
          TransportInDescription transprtIn)
          throws AxisFault
Throws:
AxisFault

start

void start()
           throws AxisFault
Throws:
AxisFault

stop

void stop()
          throws AxisFault
Throws:
AxisFault

getEPRForService

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

EndpointReference[] getEPRsForService(java.lang.String serviceName,
                                      java.lang.String ip)
                                      throws AxisFault
Throws:
AxisFault

getSessionContext

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

void destroy()


Copyright ? 2007 Apache Web Services Project. All Rights Reserved.