Class LoadBalanceEndpoint
- java.lang.Object
-
- org.wso2.carbon.endpoint.ui.endpoints.Endpoint
-
- org.wso2.carbon.endpoint.ui.endpoints.ListEndpoint
-
- org.wso2.carbon.endpoint.ui.endpoints.loadbalance.LoadBalanceEndpoint
-
- All Implemented Interfaces:
IEndpoint
public class LoadBalanceEndpoint extends ListEndpoint
-
-
Constructor Summary
Constructors Constructor Description LoadBalanceEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
getAlgorithmClassName()
String
getName()
String
getProperties()
long
getSessionTimeout()
String
getSessionType()
String
getTagLocalName()
Get the tag name of the endpointboolean
isBuildMessage()
boolean
isRetryAvailable()
org.apache.axiom.om.OMElement
serialize(org.apache.axiom.om.OMElement parent)
Serialize this endpoint in to the corresponding Synapse endpoint configuration.void
setAlgorithmClassName(String algorithmClassName)
void
setBuildMessage(boolean buildMessage)
void
setName(String name)
void
setProperties(String properties)
void
setSessionTimeout(long sessionTimeout)
void
setSessionType(String sessionType)
-
Methods inherited from class org.wso2.carbon.endpoint.ui.endpoints.ListEndpoint
addChild, addChildren, getChild, getList, removeChild, removeChild, serializeChildren
-
Methods inherited from class org.wso2.carbon.endpoint.ui.endpoints.Endpoint
getEmptyEndpointElement
-
-
-
-
Method Detail
-
getTagLocalName
public String getTagLocalName()
Description copied from interface:IEndpoint
Get the tag name of the endpoint- Returns:
- the xml element tag name
-
getName
public String getName()
-
setName
public void setName(String name)
-
getSessionType
public String getSessionType()
-
setSessionType
public void setSessionType(String sessionType)
-
getSessionTimeout
public long getSessionTimeout()
-
setSessionTimeout
public void setSessionTimeout(long sessionTimeout)
-
getProperties
public String getProperties()
-
setProperties
public void setProperties(String properties)
-
getAlgorithmClassName
public String getAlgorithmClassName()
-
setAlgorithmClassName
public void setAlgorithmClassName(String algorithmClassName)
-
isBuildMessage
public boolean isBuildMessage()
-
setBuildMessage
public void setBuildMessage(boolean buildMessage)
-
serialize
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
Description copied from interface:IEndpoint
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
public void build(org.apache.axiom.om.OMElement elem, boolean isAnonymous)
Description copied from interface:IEndpoint
Populate 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:IEndpoint
Populate this endpoint from the Synapse endpoint template configuration.- Parameters:
template
- synapse endpoint template configurationfactory
- Template definition factory
-
isRetryAvailable
public boolean isRetryAvailable()
- Specified by:
isRetryAvailable
in classListEndpoint
-
-