public final class LoadbalanceEndpointFactory extends EndpointFactory
LoadbalanceEndpoint
using an XML configuration.
<endpoint [name="name"]>
<loadbalance policy="load balance algorithm">
<endpoint>+
<member hostName="host" httpPort="port" httpsPort="port">+
</loadbalance>
</endpoint>ON_FAULT_Q
Modifier and Type | Method and Description |
---|---|
protected Endpoint |
createEndpoint(org.apache.axiom.om.OMElement epConfig,
boolean anonymousEndpoint,
Properties properties)
Creates the Endpoint implementation for the given XML endpoint configuration.
|
static LoadbalanceEndpointFactory |
getInstance() |
extractSpecificEndpointProperties, getEndpointDefinitionFactory, getEndpointFromElement, getEndpointFromElement, getEndpoints, getObjectFromOMNode, handleException, handleException, processProperties, setEndpointDefinitionFactory
public static LoadbalanceEndpointFactory getInstance()
protected Endpoint createEndpoint(org.apache.axiom.om.OMElement epConfig, boolean anonymousEndpoint, Properties properties)
EndpointFactory
createEndpoint
in class EndpointFactory
epConfig
- OMElement containing the endpoint configuration.anonymousEndpoint
- false if the endpoint has a name. true otherwise.properties
- bag of properties to pass in any information to the factoryCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.