Class AbstractComponentCollection<T>
java.lang.Object
org.codehaus.plexus.component.collections.AbstractComponentCollection<T>
- Direct Known Subclasses:
ComponentList,ComponentMap
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<String,ComponentDescriptor<T>> The type of the components held by this collectionprotected MutablePlexusContainerThe reference to the PlexusContainerprotected StringThe component that requires this collection of componentsprotected LoggerUsed to log errors in the component lookup process.private Collection<org.codehaus.plexus.classworlds.realm.ClassRealm>protected StringThe role of the components we are holding in this Collection.The role hint of the components we are holding in this Collection.private ClassLoaderprivate final org.codehaus.plexus.classworlds.ClassWorld -
Constructor Summary
ConstructorsConstructorDescriptionAbstractComponentCollection(MutablePlexusContainer container, Class<T> componentType, String role, List<String> roleHints, String hostComponent) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidclear()protected Map<String,ComponentDescriptor<T>> protected Tlookup(ComponentDescriptor<T> componentDescriptor) private booleanprotected 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. -
tccl
-
realms
-
componentDescriptorMap
-
world
private final org.codehaus.plexus.classworlds.ClassWorld world
-
-
Constructor Details
-
AbstractComponentCollection
-
-
Method Details
-
realmsHaveChanged
private boolean realmsHaveChanged() -
getComponentDescriptorMap
-
checkUpdate
protected boolean checkUpdate() -
lookup
-
clear
public void clear() -
releaseAllCallback
protected abstract void releaseAllCallback()
-