public abstract class ListEndpoint extends Endpoint
ListEndpoint which contains a list of child endpoints| Constructor and Description |
|---|
ListEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Endpoint endpoint)
Add a child endpoint to the list
|
protected void |
addChildren(org.apache.axiom.om.OMElement element,
ListEndpoint listEndpoint)
Add children to the
ListEndpoint from a configuration. |
Endpoint |
getChild(int pos)
Get a child endpoint
|
List<Endpoint> |
getList()
Get the list of child endpoints containing in this endpoint
|
abstract boolean |
isRetryAvailable() |
boolean |
removeChild(Endpoint endpoint)
Remove a child endpoint
|
Endpoint |
removeChild(int pos)
Remove a child endpoint
|
protected void |
serializeChildren(org.apache.axiom.om.OMElement parent,
List<Endpoint> list)
Serialize all child endpoints
|
getEmptyEndpointElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, build, getTagLocalName, serializepublic List<Endpoint> getList()
public Endpoint getChild(int pos)
pos - position in the child endpoint listpublic Endpoint removeChild(int pos)
pos - position in the child endpoint listpublic boolean removeChild(Endpoint endpoint)
endpoint - Endpoint to be removedpublic void addChild(Endpoint endpoint)
endpoint - endpoint to be addedprotected void serializeChildren(org.apache.axiom.om.OMElement parent,
List<Endpoint> list)
parent - parent endpointlist - child endpoint listprotected void addChildren(org.apache.axiom.om.OMElement element,
ListEndpoint listEndpoint)
ListEndpoint from a configuration.element - configuration elementlistEndpoint - Endpoint to which childEndpoints to be addedpublic abstract boolean isRetryAvailable()
Copyright © 2019 WSO2. All rights reserved.