Class DefaultEndpoint
- java.lang.Object
-
- org.wso2.carbon.endpoint.ui.endpoints.Endpoint
-
- org.wso2.carbon.endpoint.ui.endpoints.defaultendpoint.DefaultEndpoint
-
-
Constructor Summary
Constructors Constructor Description DefaultEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidbuild(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.StringgetDescription()StringgetEpName()StringgetErrorCodes()StringgetFormat()StringgetMaxSusDuration()StringgetProperties()StringgetRetryDelay()StringgetRetryDisabledErrorCodes()StringgetRetryTimeout()StringgetRmPolKey()StringgetSecPolKey()StringgetSuspendDurationOnFailure()StringgetSusProgFactor()StringgetTagLocalName()Get the tag name of the endpointStringgetTimedOutErrorCodes()StringgetTimeoutAct()StringgetTimeoutActionDur()booleanisGet()booleanisMtom()booleanisPox()booleanisRest()booleanisSepList()booleanisSoap11()booleanisSoap12()booleanisSwa()booleanisWsadd()booleanisWsrm()Deprecated.booleanisWssec()org.apache.axiom.om.OMElementserialize(org.apache.axiom.om.OMElement parent)Serialize this endpoint in to the corresponding Synapse endpoint configuration.voidsetDescription(String description)voidsetEpName(String name)voidsetErrorCodes(String errorCodes)voidsetFormat(String format)voidsetGet(boolean get)voidsetMaxSusDuration(String maxSusDuration)voidsetMtom(boolean mtom)voidsetPox(boolean pox)voidsetProperties(String properties)voidsetRest(boolean rest)voidsetRetryDelay(String retryDelay)voidsetRetryDisabledErrorCodes(String retryDisabledErrorCodes)voidsetRetryTimeout(String retryTimeout)voidsetRmPolKey(String rmPolKey)voidsetSecPolKey(String secPolKey)voidsetSepList(boolean sepList)voidsetSoap11(boolean soap11)voidsetSoap12(boolean soap12)voidsetSuspendDurationOnFailure(String suspendDurationOnFailure)voidsetSusProgFactor(String susProgFactor)voidsetSwa(boolean swa)voidsetTimedOutErrorCodes(String timedOutErrorCodes)voidsetTimeoutAct(String timeoutAct)voidsetTimeoutActionDur(String timeoutActionDur)voidsetWsadd(boolean wsadd)voidsetWsrm(boolean wsrm)Deprecated.voidsetWssec(boolean wssec)-
Methods inherited from class org.wso2.carbon.endpoint.ui.endpoints.Endpoint
getEmptyEndpointElement
-
-
-
-
Method Detail
-
getTagLocalName
public String getTagLocalName()
Description copied from interface:IEndpointGet the tag name of the endpoint- Returns:
- the xml element tag name
-
getEpName
public String getEpName()
-
setEpName
public void setEpName(String name)
-
getSuspendDurationOnFailure
public String getSuspendDurationOnFailure()
-
setSuspendDurationOnFailure
public void setSuspendDurationOnFailure(String suspendDurationOnFailure)
-
getFormat
public String getFormat()
-
setFormat
public void setFormat(String format)
-
isSwa
public boolean isSwa()
-
setSwa
public void setSwa(boolean swa)
-
isMtom
public boolean isMtom()
-
setMtom
public void setMtom(boolean mtom)
-
isSoap11
public boolean isSoap11()
-
setSoap11
public void setSoap11(boolean soap11)
-
isSoap12
public boolean isSoap12()
-
setSoap12
public void setSoap12(boolean soap12)
-
isRest
public boolean isRest()
-
setRest
public void setRest(boolean rest)
-
isGet
public boolean isGet()
-
setGet
public void setGet(boolean get)
-
isPox
public boolean isPox()
-
setPox
public void setPox(boolean pox)
-
getTimeoutAct
public String getTimeoutAct()
-
setTimeoutAct
public void setTimeoutAct(String timeoutAct)
-
getTimeoutActionDur
public String getTimeoutActionDur()
-
setTimeoutActionDur
public void setTimeoutActionDur(String timeoutActionDur)
-
isWsadd
public boolean isWsadd()
-
setWsadd
public void setWsadd(boolean wsadd)
-
isSepList
public boolean isSepList()
-
setSepList
public void setSepList(boolean sepList)
-
isWssec
public boolean isWssec()
-
setWssec
public void setWssec(boolean wssec)
-
isWsrm
@Deprecated public boolean isWsrm()
Deprecated.
-
setWsrm
@Deprecated public void setWsrm(boolean wsrm)
Deprecated.
-
getSecPolKey
public String getSecPolKey()
-
setSecPolKey
public void setSecPolKey(String secPolKey)
-
getRmPolKey
public String getRmPolKey()
-
setRmPolKey
public void setRmPolKey(String rmPolKey)
-
getMaxSusDuration
public String getMaxSusDuration()
-
setMaxSusDuration
public void setMaxSusDuration(String maxSusDuration)
-
getSusProgFactor
public String getSusProgFactor()
-
setSusProgFactor
public void setSusProgFactor(String susProgFactor)
-
getErrorCodes
public String getErrorCodes()
-
setErrorCodes
public void setErrorCodes(String errorCodes)
-
setRetryDisabledErrorCodes
public void setRetryDisabledErrorCodes(String retryDisabledErrorCodes)
-
getRetryDisabledErrorCodes
public String getRetryDisabledErrorCodes()
-
getTimedOutErrorCodes
public String getTimedOutErrorCodes()
-
setTimedOutErrorCodes
public void setTimedOutErrorCodes(String timedOutErrorCodes)
-
getRetryTimeout
public String getRetryTimeout()
-
setRetryTimeout
public void setRetryTimeout(String retryTimeout)
-
getRetryDelay
public String getRetryDelay()
-
setRetryDelay
public void setRetryDelay(String retryDelay)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getProperties
public String getProperties()
-
setProperties
public void setProperties(String properties)
-
serialize
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
Description copied from interface:IEndpointSerialize 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
public void build(org.apache.axiom.om.OMElement elem, boolean isAnonymous)Description copied from interface:IEndpointPopulate this endpoint from the Synapse endpoint configuration.- Parameters:
elem- synapse endpoint configurationisAnonymous- whether the endpoint has a name
-
build
public void build(org.apache.synapse.endpoints.Template template, org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)Description copied from interface:IEndpointPopulate this endpoint from the Synapse endpoint template configuration.- Parameters:
template- synapse endpoint template configurationfactory- Template definition factory
-
-