org.apache.synapse.config.xml.endpoints
Interface EndpointSerializer

All Known Implementing Classes:
AddressEndpointSerializer, FailoverEndpointSerializer, IndirectEndpointSerializer, LoadbalanceEndpointSerializer, SALoadbalanceEndpointSerializer, WSDLEndpointSerializer

public interface EndpointSerializer

All endpoint serializers should implement this interface. Use EndpointAbstractSerializer to obtain the correct EndpointSerializer implementation for a particular endpoint. EndpointSerializer implementation may call other EndpointSerializer implementations to serialize nested endpoints.


Method Summary
 org.apache.axiom.om.OMElement serializeEndpoint(Endpoint endpoint)
          Serializes the given endpoint implementation to an XML object.
 

Method Detail

serializeEndpoint

org.apache.axiom.om.OMElement serializeEndpoint(Endpoint endpoint)
Serializes the given endpoint implementation to an XML object.

Parameters:
endpoint - Endpoint implementation to be serialized.
Returns:
OMElement containing XML configuration.


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