org.apache.synapse.config.xml.endpoints
Class DynamicLoadbalanceEndpointSerializer

java.lang.Object
  extended by org.apache.synapse.config.xml.endpoints.EndpointSerializer
      extended by org.apache.synapse.config.xml.endpoints.DynamicLoadbalanceEndpointSerializer

public class DynamicLoadbalanceEndpointSerializer
extends EndpointSerializer

Creates DynamicLoadbalanceEndpoint using 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
DynamicLoadbalanceEndpointSerializer()
           
 
Method Summary
protected  OMElement serializeEndpoint(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicLoadbalanceEndpointSerializer

public DynamicLoadbalanceEndpointSerializer()
Method Detail

serializeEndpoint

protected OMElement serializeEndpoint(Endpoint endpoint)
Description copied from class: EndpointSerializer
Serializes the given endpoint implementation to an XML object.

Specified by:
serializeEndpoint in class EndpointSerializer
Parameters:
endpoint - Endpoint implementation to be serialized.
Returns:
OMElement containing XML configuration.


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.