public abstract class ListEndpoint extends Endpoint
ListEndpoint
which contains a list of child endpointsConstructor 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
|
getEmptyEndpointElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, build, getTagLocalName, serialize
public 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 © 2022 WSO2. All rights reserved.