public interface ListMediator extends Mediator, ManagedLifecycle
This interface extends ManagedLifecycle. An implementations must
propagate lifecycle events to all children implementing the ManagedLifecycle
interface.
| Modifier and Type | Method and Description |
|---|---|
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
|
getTraceState, getType, isContentAware, mediate, setTraceStategetDescription, setDescriptiondestroy, initboolean addChild(Mediator m)
m - the mediator to be addedboolean addAll(List<Mediator> c)
c - the list of mediators to be addedMediator getChild(int pos)
pos - index of mediator to returnboolean removeChild(Mediator m)
m - mediator to be removed from this list, if presentMediator removeChild(int pos)
pos - the index of the mediator to removeCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.