| Constructor and Description |
|---|
TemplateEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String key,
String value) |
void |
build(org.apache.axiom.om.OMElement elem,
boolean isAnonymous)
Populate this endpoint from the Synapse endpoint configuration.
|
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.
|
String |
getAddress() |
String |
getEpName() |
Map<String,String> |
getParameters() |
String |
getTagLocalName()
Get the tag name of the endpoint
|
String |
getTargetTemplate() |
org.apache.axiom.om.OMElement |
serialize(org.apache.axiom.om.OMElement parent)
Serialize this endpoint in to the corresponding Synapse endpoint configuration.
|
void |
setAddress(String address) |
void |
setEpName(String epName) |
void |
setParameters(Map<String,String> parameters) |
void |
setTargetTemplate(String targetTemplate) |
getEmptyEndpointElementpublic String getTagLocalName()
IEndpointpublic String getEpName()
public void setEpName(String epName)
public String getAddress()
public void setAddress(String address)
public String getTargetTemplate()
public void setTargetTemplate(String targetTemplate)
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
IEndpointparent - if present the serialize node will be added to the parentpublic void build(org.apache.axiom.om.OMElement elem,
boolean isAnonymous)
IEndpointelem - synapse endpoint configurationisAnonymous - whether the endpoint has a namepublic void build(org.apache.synapse.endpoints.Template template,
org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)
IEndpointtemplate - synapse endpoint template configurationfactory - Template definition factoryCopyright © 2019 WSO2. All rights reserved.