org.apache.axis2.transport
Interface TransportListener

All Known Implementing Classes:
AxisServlet, JMSListener, SimpleHTTPServer, SimpleMailListener, TCPServer

public interface TransportListener

Class TransportListener


Field Summary
static String HOST_ADDRESS
           
static String PARAM_PORT
           
 
Method Summary
 EndpointReference getEPRForService(String serviceName, 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(String serviceName, String ip)
           
 void init(ConfigurationContext axisConf, TransportInDescription transprtIn)
           
 void start()
           
 void stop()
           
 

Field Detail

PARAM_PORT

public static final String PARAM_PORT
See Also:
Constant Field Values

HOST_ADDRESS

public static final String HOST_ADDRESS
See Also:
Constant Field Values
Method Detail

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(String serviceName,
                                          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(String serviceName,
                                             String ip)
                                      throws AxisFault
Throws:
AxisFault