public class HttpListener extends Object implements TransportListener
HOST_ADDRESS, PARAM_PORT| Constructor and Description |
|---|
HttpListener(org.osgi.framework.BundleContext context) |
| 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.
|
SessionContext |
getSessionContext(MessageContext messageContext)
To get the sessionContext transport dependent manner.
|
void |
init(ConfigurationContext configCtx,
TransportInDescription transprtIn) |
void |
start() |
void |
stop() |
public void init(ConfigurationContext configCtx, TransportInDescription transprtIn) throws AxisFault
init in interface TransportListenerAxisFaultpublic void start()
throws AxisFault
start in interface TransportListenerAxisFaultpublic void stop()
throws AxisFault
stop in interface TransportListenerAxisFaultpublic EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
AxisFaultpublic 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 SessionContext getSessionContext(MessageContext messageContext)
TransportListenergetSessionContext in interface TransportListenermessageContext - : MessageContext which has all the relavent datapublic void destroy()
destroy in interface TransportListenerCopyright © The Apache Software Foundation. All Rights Reserved.