|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.component.collections.AbstractComponentCollection
public abstract class AbstractComponentCollection
| Field Summary | |
|---|---|
protected PlexusContainer |
container
The reference to the PlexusContainer |
protected java.lang.String |
hostComponent
The component that requires this collection of components |
protected Logger |
logger
Used to log errors in the component lookup process. |
protected org.codehaus.plexus.classworlds.realm.ClassRealm |
realm
The realm we need to lookup in |
protected java.lang.String |
role
The role of the components we are holding in this Collection. |
protected java.util.List<java.lang.String> |
roleHints
The role hint of the components we are holding in this Collection. |
| Constructor Summary | |
|---|---|
AbstractComponentCollection(PlexusContainer container,
org.codehaus.plexus.classworlds.realm.ClassRealm realm,
java.lang.String role,
java.util.List roleHints,
java.lang.String hostComponent)
|
|
| Method Summary | |
|---|---|
protected boolean |
checkUpdate()
|
void |
clear()
|
protected java.util.Map<java.lang.String,ComponentDescriptor> |
getComponentDescriptorMap()
|
protected java.util.Map<java.lang.String,org.codehaus.plexus.classworlds.realm.ClassRealm> |
getLookupRealmMap()
|
protected java.util.List<org.codehaus.plexus.classworlds.realm.ClassRealm> |
getLookupRealms()
Retrieve the set of all ClassRealms with a descendant-or-self relationship to the ClassRealm used to construct this component collection. |
protected java.lang.Object |
lookup(java.lang.String role,
java.lang.String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
|
protected abstract void |
releaseAllCallback()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PlexusContainer container
protected java.lang.String role
protected java.util.List<java.lang.String> roleHints
protected org.codehaus.plexus.classworlds.realm.ClassRealm realm
protected java.lang.String hostComponent
protected Logger logger
| Constructor Detail |
|---|
public AbstractComponentCollection(PlexusContainer container,
org.codehaus.plexus.classworlds.realm.ClassRealm realm,
java.lang.String role,
java.util.List roleHints,
java.lang.String hostComponent)
| Method Detail |
|---|
protected java.util.List<org.codehaus.plexus.classworlds.realm.ClassRealm> getLookupRealms()
protected java.util.Map<java.lang.String,org.codehaus.plexus.classworlds.realm.ClassRealm> getLookupRealmMap()
protected java.util.Map<java.lang.String,ComponentDescriptor> getComponentDescriptorMap()
protected boolean checkUpdate()
protected java.lang.Object lookup(java.lang.String role,
java.lang.String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
public void clear()
protected abstract void releaseAllCallback()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||