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 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.private Collection<org.codehaus.plexus.classworlds.realm.ClassRealm>
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.private ClassLoader
private 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 boolean
void
clear()
protected Map<String,
ComponentDescriptor<T>> protected T
lookup
(ComponentDescriptor<T> componentDescriptor) private boolean
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. -
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()
-