Class XMLToEndpointMapper
- java.lang.Object
-
- org.apache.synapse.config.xml.endpoints.XMLToEndpointMapper
-
- All Implemented Interfaces:
XMLToObjectMapper
public class XMLToEndpointMapper extends Object implements XMLToObjectMapper
This is a generic XMLToObjectMapper implementation for all endpoint types. Use this if the endpoint type is not known at the time mapper is created. If the endpoint type is known use the EndpointFactory implementation for that specific endpoint.- See Also:
XMLToObjectMapper
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XMLToEndpointMapper
getInstance()
Object
getObjectFromOMNode(org.apache.axiom.om.OMNode om, Properties properties)
Constructs the Endpoint implementation for the given OMNode.
-
-
-
Method Detail
-
getInstance
public static XMLToEndpointMapper getInstance()
-
getObjectFromOMNode
public Object getObjectFromOMNode(org.apache.axiom.om.OMNode om, Properties properties)
Constructs the Endpoint implementation for the given OMNode.- Specified by:
getObjectFromOMNode
in interfaceXMLToObjectMapper
- Parameters:
om
- OMNode containing endpoint configuration. This should be an OMElement.properties
- bag of properties to pass in any information to the factory- Returns:
- Endpoint implementation for the given OMNode.
-
-