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 TransportListener
AxisFault
public void start() throws AxisFault
start
in interface TransportListener
AxisFault
public void stop() throws AxisFault
stop
in interface TransportListener
AxisFault
public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
AxisFault
public EndpointReference[] getEPRsForService(String serviceName, String ip) throws AxisFault
TransportListener
getEPRsForService
in interface TransportListener
serviceName
- 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)
.AxisFault
public SessionContext getSessionContext(MessageContext messageContext)
TransportListener
getSessionContext
in interface TransportListener
messageContext
- : MessageContext which has all the relavent datapublic void destroy()
destroy
in interface TransportListener
Copyright © The Apache Software Foundation. All Rights Reserved.