public interface TransportListener
Modifier and Type | Field and Description |
---|---|
static String |
HOST_ADDRESS |
static String |
PARAM_PORT |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
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)
Get the endpoint references for a given service.
|
SessionContext |
getSessionContext(MessageContext messageContext)
To get the sessionContext transport dependent manner.
|
void |
init(ConfigurationContext axisConf,
TransportInDescription transprtIn) |
void |
start() |
void |
stop() |
static final String PARAM_PORT
static final String HOST_ADDRESS
void init(ConfigurationContext axisConf, TransportInDescription transprtIn) throws AxisFault
AxisFault
EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
serviceName
- ip
- AxisFault
EndpointReference[] getEPRsForService(String serviceName, String ip) throws AxisFault
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
SessionContext getSessionContext(MessageContext messageContext)
messageContext
- : MessageContext which has all the relavent datavoid destroy()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.