ATTRIBUTETYPE
- The type of the parent object's attributes.PARENTTYPE
- The type of the parent object which holds the attributes.public class AttributesContainerCache<ATTRIBUTETYPE,PARENTTYPE> extends Object
AttributesContainerCache
got more generic. Therefore the
ATTRIBUTETYPE defines the type of the attribute (e.g. Attrib
to
stick with the MBeans example) and the PARENTTYPE defines the type of the
parent object (e.g. Mbean
to stick with the MBeans example).Modifier and Type | Class and Description |
---|---|
static interface |
AttributesContainerCache.AttributeCollector<ATTRIBUTETYPE,PARENTTYPE>
The AttributeCollector retrieves all attributes from the parent's
object.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the containerMap.
|
SelectableBeanItemContainer<ATTRIBUTETYPE> |
getContainer(PARENTTYPE bean)
Gets the container of the given bean.
|
PARENTTYPE |
getParentFor(ATTRIBUTETYPE child) |
public SelectableBeanItemContainer<ATTRIBUTETYPE> getContainer(PARENTTYPE bean)
bean
- public PARENTTYPE getParentFor(ATTRIBUTETYPE child)
public void clear()
Copyright © 2017. All rights reserved.