Class AbstractComponentCollection<T>
java.lang.Object
org.codehaus.plexus.component.collections.AbstractComponentCollection<T>
- Direct Known Subclasses:
ComponentList
,ComponentMap
- Author:
- Jason van Zyl
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe type of the components held by this collectionprotected MutablePlexusContainer
The reference to the PlexusContainerprotected String
The component that requires this collection of componentsprotected Logger
Used to log errors in the component lookup process.protected String
The role of the components we are holding in this Collection.The role hint of the components we are holding in this Collection. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractComponentCollection
(MutablePlexusContainer container, Class<T> componentType, String role, List<String> roleHints, String hostComponent) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
clear()
protected Map<String,
ComponentDescriptor<T>> protected T
lookup
(ComponentDescriptor<T> componentDescriptor) protected abstract void
-
Field Details
-
container
The reference to the PlexusContainer -
componentType
The type of the components held by this collection -
role
The role of the components we are holding in this Collection. -
roleHints
The role hint of the components we are holding in this Collection. -
hostComponent
The component that requires this collection of components -
logger
Used to log errors in the component lookup process.
-
-
Constructor Details
-
AbstractComponentCollection
-
-
Method Details
-
getComponentDescriptorMap
-
checkUpdate
protected boolean checkUpdate() -
lookup
-
clear
public void clear() -
releaseAllCallback
protected abstract void releaseAllCallback()
-