|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListMediator
The List mediator executes a given sequence/list of child mediators.
This interface extends ManagedLifecycle
. An implementations must
propagate lifecycle events to all children implementing the ManagedLifecycle
interface.
Method Summary | |
---|---|
boolean |
addAll(List<Mediator> c)
Appends all of the mediators in the specified collection to the end of this mediator's (children) list, in the order that they are returned by the specified collection's iterator |
boolean |
addChild(Mediator m)
Appends the specified mediator to the end of this mediator's (children) list |
Mediator |
getChild(int pos)
Returns the mediator at the specified position |
List<Mediator> |
getList()
Return the list of mediators of this List mediator instance |
Mediator |
removeChild(int pos)
Removes the mediator at the specified position in this list |
boolean |
removeChild(Mediator m)
Removes the first occurrence in this list of the specified mediator |
Methods inherited from interface org.apache.synapse.Mediator |
---|
getTraceState, getType, mediate, setTraceState |
Methods inherited from interface org.apache.synapse.SynapseArtifact |
---|
getDescription, setDescription |
Methods inherited from interface org.apache.synapse.ManagedLifecycle |
---|
destroy, init |
Method Detail |
---|
boolean addChild(Mediator m)
m
- the mediator to be added
boolean addAll(List<Mediator> c)
c
- the list of mediators to be added
Mediator getChild(int pos)
pos
- index of mediator to return
boolean removeChild(Mediator m)
m
- mediator to be removed from this list, if present
Mediator removeChild(int pos)
pos
- the index of the mediator to remove
List<Mediator> getList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |