|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.transport.base.ProtocolEndpoint
public abstract class ProtocolEndpoint
Describes a protocol specific endpoint. This might be a TCP/UDP port, a mail account, a JMS destination, etc. Typically, a protocol specific endpoint is mapped to a service.
| Constructor Summary | |
|---|---|
ProtocolEndpoint()
|
|
| Method Summary | |
|---|---|
MessageContext |
createMessageContext()
|
protected ConfigurationContext |
getConfigurationContext()
Get the Axis2 configuration context. |
java.lang.String |
getDescription()
Get a short description of this endpoint suitable for inclusion in log messages. |
abstract EndpointReference[] |
getEndpointReferences(AxisService service,
java.lang.String ip)
Get the endpoint references for this protocol endpoint. |
AbstractTransportListenerEx<?> |
getListener()
|
AxisService |
getService()
|
java.lang.String |
getServiceName()
Get the name of the service to which messages received by this endpoint are pre-dispatched. |
abstract boolean |
loadConfiguration(ParameterInclude params)
Configure the endpoint based on the provided parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtocolEndpoint()
| Method Detail |
|---|
public final AbstractTransportListenerEx<?> getListener()
public final AxisService getService()
public final java.lang.String getServiceName()
null if message are not pre-dispatchedprotected final ConfigurationContext getConfigurationContext()
ConfigurationContext object from the listener.
public abstract boolean loadConfiguration(ParameterInclude params)
throws AxisFault
false. An exception should only be thrown if there is an
error or inconsistency in the parameters.
params - The source of the parameters to configure the
endpoint. If the parameters are defined on
a service, this will be an AxisService
instance.
true if the parameters contained the required configuration
information and the endpoint has been configured, false if
the no configuration for the endpoint is present in the parameters
AxisFault - if configuration information is present, but there is an
error or inconsistency in the parameters
public abstract EndpointReference[] getEndpointReferences(AxisService service,
java.lang.String ip)
throws AxisFault
service - The service to build the EPR for. If getService() returns
a non null value, then it has the same value as this parameter, which
is never null.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).
AxisFaultTransportListener.getEPRsForService(String, String)public java.lang.String getDescription()
public MessageContext createMessageContext()
throws AxisFault
AxisFault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||