public abstract class AbstractComponentCollection<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected Class<T> |
componentType
The type of the components held by this collection
|
protected MutablePlexusContainer |
container
The reference to the PlexusContainer
|
protected String |
hostComponent
The component that requires this collection of components
|
protected Logger |
logger
Used to log errors in the component lookup process.
|
protected String |
role
The role of the components we are holding in this Collection.
|
protected List<String> |
roleHints
The role hint of the components we are holding in this Collection.
|
Constructor and Description |
---|
AbstractComponentCollection(MutablePlexusContainer container,
Class<T> componentType,
String role,
List<String> roleHints,
String hostComponent) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkUpdate() |
void |
clear() |
protected Map<String,ComponentDescriptor<T>> |
getComponentDescriptorMap() |
protected T |
lookup(ComponentDescriptor<T> componentDescriptor) |
protected abstract void |
releaseAllCallback() |
protected MutablePlexusContainer container
protected final Class<T> componentType
protected String role
protected List<String> roleHints
protected String hostComponent
protected Logger logger
protected Map<String,ComponentDescriptor<T>> getComponentDescriptorMap()
protected boolean checkUpdate()
protected T lookup(ComponentDescriptor<T> componentDescriptor)
public void clear()
protected abstract void releaseAllCallback()
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.