Class DynamicLoadbalanceEndpointSerializer
- java.lang.Object
-
- org.apache.synapse.config.xml.endpoints.EndpointSerializer
-
- org.apache.synapse.config.xml.endpoints.DynamicLoadbalanceEndpointSerializer
-
public class DynamicLoadbalanceEndpointSerializer extends EndpointSerializer
CreatesDynamicLoadbalanceEndpointusing an XML configuration.<endpoint> <dynamicLoadbalance [failover="true|false"] [policy="load balance algorithm"]> <membershipHandler class="HandlerClass"> <property name="some name" value="some domain"/>+ </membershipHandler> </dynamicLoadbalance> </endpoint>
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.config.xml.endpoints.EndpointSerializer
fac
-
-
Constructor Summary
Constructors Constructor Description DynamicLoadbalanceEndpointSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.axiom.om.OMElementserializeEndpoint(Endpoint endpoint)Serializes the given endpoint implementation to an XML object.-
Methods inherited from class org.apache.synapse.config.xml.endpoints.EndpointSerializer
getElementFromEndpoint, getEndpointSerializer, handleException, serializeCommonAttributes, serializeProperties, serializeSpecificEndpointProperties
-
-
-
-
Method Detail
-
serializeEndpoint
protected org.apache.axiom.om.OMElement serializeEndpoint(Endpoint endpoint)
Description copied from class:EndpointSerializerSerializes the given endpoint implementation to an XML object.- Specified by:
serializeEndpointin classEndpointSerializer- Parameters:
endpoint- Endpoint implementation to be serialized.- Returns:
- OMElement containing XML configuration.
-
-