public class AxisServletListener extends Object implements TransportListener
TransportListener implementation for AxisServlet. There will be one instance
of this class for each protocol (HTTP and/or HTTPS) accepted by the servlet.HOST_ADDRESS, PARAM_PORT| Constructor and Description |
|---|
AxisServletListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
EndpointReference |
getEPRForService(String serviceName,
String ip) |
EndpointReference[] |
getEPRsForService(String serviceName,
String ip)
Get the endpoint references for a given service.
|
int |
getPort() |
SessionContext |
getSessionContext(MessageContext messageContext)
To get the sessionContext transport dependent manner.
|
void |
init(ConfigurationContext configurationContext,
TransportInDescription transportInDescription) |
void |
setPort(int port) |
void |
start() |
void |
stop() |
public void init(ConfigurationContext configurationContext, TransportInDescription transportInDescription) throws AxisFault
init in interface TransportListenerAxisFaultpublic int getPort()
public void setPort(int port)
public void start()
throws AxisFault
start in interface TransportListenerAxisFaultpublic void stop()
throws AxisFault
stop in interface TransportListenerAxisFaultpublic EndpointReference[] getEPRsForService(String serviceName, String ip) throws AxisFault
TransportListenergetEPRsForService in interface TransportListenerserviceName - TODO: this is actually not simply the service name!ip - The host name or IP address of the local host. The implementation should use
this information instead of InetAddress.getLocalHost().
The value of this parameter may be null, in which case the
implementation should use Utils.getIpAddress(
org.apache.axis2.engine.AxisConfiguration).AxisFaultpublic EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
getEPRForService in interface TransportListenerAxisFaultpublic SessionContext getSessionContext(MessageContext messageContext)
TransportListenergetSessionContext in interface TransportListenermessageContext - : MessageContext which has all the relavent datapublic void destroy()
destroy in interface TransportListenerCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.