public interface ParentComponent<S> extends ParentComponentMBean
Modifier and Type | Method and Description |
---|---|
boolean |
addChild(S wmb)
Add a a child to this parent.
|
boolean |
addChildren(java.util.Collection<S> coll)
Add some children to this parent (optional operation).
|
void |
childUpdated()
Notifies a parent that a child component has been updated.
|
java.lang.String |
createObjectHierarchyString()
Create an ObjectName key/value pair hierarchy.
|
java.util.Collection<BaseComponentMBean> |
getAllDescendants()
Get all the descendants of this ParentComponent implementation.
|
boolean |
removeChild(S wmb)
Remove a Child from this parent.
|
boolean |
removeChildren(java.util.Collection<S> coll)
Remove some children from this parent.
|
getChildren
createObjectName, registerMBean, unregisterMBean
java.lang.String createObjectHierarchyString()
boolean addChild(S wmb) throws CoreException
wmb
- a channel managerCoreException
- wrapping any underlying exceptionSet.add(Object)
boolean removeChild(S wmb) throws CoreException
wmb
- a channel managerCoreException
- wrapping any underlying exceptionSet.remove(Object)
boolean addChildren(java.util.Collection<S> coll) throws CoreException, java.lang.UnsupportedOperationException
coll
- a collection of items to be added.CoreException
- wrapping any underlying exceptionjava.lang.UnsupportedOperationException
- - if the addChildren operation is not supported.Set.addAll(Collection)
boolean removeChildren(java.util.Collection<S> coll) throws CoreException
coll
- a collection of items to be removed.CoreException
- wrapping any underlying exceptionSet.addAll(Collection)
java.util.Collection<BaseComponentMBean> getAllDescendants()
void childUpdated() throws CoreException
CoreException