Interface IEndpoint
- All Known Implementing Classes:
AddressEndpoint,DefaultEndpoint,Endpoint,FailoverEndpoint,HttpEndpoint,ListEndpoint,LoadBalanceEndpoint,RecipientlistEndpoint,TemplateEndpoint,WsdlEndpoint
public interface IEndpoint
This interface provides the basic structure of a endpoint for the endpoint editor ui,
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(org.apache.axiom.om.OMElement elem, boolean isAnonymous) Populate this endpoint from the Synapse endpoint configuration.voidbuild(org.apache.synapse.endpoints.Template template, org.apache.synapse.config.xml.endpoints.DefinitionFactory factory) Populate this endpoint from the Synapse endpoint template configuration.Get the tag name of the endpointorg.apache.axiom.om.OMElementserialize(org.apache.axiom.om.OMElement parent) Serialize this endpoint in to the corresponding Synapse endpoint configuration.
-
Method Details
-
serialize
org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent) Serialize this endpoint in to the corresponding Synapse endpoint configuration.- Parameters:
parent- if present the serialize node will be added to the parent- Returns:
- the Synapse endpoint configuration XML
-
build
void build(org.apache.axiom.om.OMElement elem, boolean isAnonymous) Populate this endpoint from the Synapse endpoint configuration.- Parameters:
elem- synapse endpoint configurationisAnonymous- whether the endpoint has a name
-
build
void build(org.apache.synapse.endpoints.Template template, org.apache.synapse.config.xml.endpoints.DefinitionFactory factory) Populate this endpoint from the Synapse endpoint template configuration.- Parameters:
template- synapse endpoint template configurationfactory- Template definition factory
-
getTagLocalName
String getTagLocalName()Get the tag name of the endpoint- Returns:
- the xml element tag name
-