Class DatagramEndpoint
java.lang.Object
org.apache.axis2.transport.base.ProtocolEndpoint
org.apache.axis2.transport.base.datagram.DatagramEndpoint
Endpoint description.
This class is used by the transport to store information
about an endpoint, e.g. the Axis service it is bound to.
Transports extend this abstract class to store additional
transport specific information, such as the port number
the transport listens on.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanloadConfiguration(org.apache.axis2.description.ParameterInclude params) Configure the endpoint based on the provided parameters.voidsetMetrics(MetricsCollector metrics) Methods inherited from class org.apache.axis2.transport.base.ProtocolEndpoint
createMessageContext, getConfigurationContext, getDescription, getEndpointReferences, getListener, getService, getServiceName
-
Constructor Details
-
DatagramEndpoint
public DatagramEndpoint()
-
-
Method Details
-
getContentType
-
getMetrics
-
setMetrics
-
loadConfiguration
public boolean loadConfiguration(org.apache.axis2.description.ParameterInclude params) throws org.apache.axis2.AxisFault Description copied from class:ProtocolEndpointConfigure the endpoint based on the provided parameters. If no relevant parameters are found, the implementation should returnfalse. An exception should only be thrown if there is an error or inconsistency in the parameters.- Specified by:
loadConfigurationin classProtocolEndpoint- Parameters:
params- The source of the parameters to configure the endpoint. If the parameters are defined on a service, this will be anAxisServiceinstance.- Returns:
trueif the parameters contained the required configuration information and the endpoint has been configured,falseif the no configuration for the endpoint is present in the parameters- Throws:
org.apache.axis2.AxisFault- if configuration information is present, but there is an error or inconsistency in the parameters
-