Package org.codehaus.plexus.collections
Class DefaultActiveCollectionManager
- java.lang.Object
-
- org.codehaus.plexus.collections.DefaultActiveCollectionManager
-
- All Implemented Interfaces:
ActiveCollectionManager,org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
public class DefaultActiveCollectionManager extends java.lang.Object implements ActiveCollectionManager, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
-
-
Field Summary
Fields Modifier and Type Field Description private org.codehaus.plexus.PlexusContainercontainer-
Fields inherited from interface org.codehaus.plexus.collections.ActiveCollectionManager
ROLE
-
-
Constructor Summary
Constructors Constructor Description DefaultActiveCollectionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextualize(org.codehaus.plexus.context.Context context)ActiveListgetActiveList(java.lang.Class role)Retrieve anActiveListinstance that contains the components of the given role.ActiveListgetActiveList(java.lang.String role)Retrieve anActiveListinstance that contains the components of the given role.ActiveMapgetActiveMap(java.lang.Class role)Retrieve anActiveMapinstance that contains the components of the given role.ActiveMapgetActiveMap(java.lang.String role)Retrieve anActiveMapinstance that contains the components of the given role.ActiveSetgetActiveSet(java.lang.Class role)Retrieve anActiveSetinstance that contains the components of the given role.ActiveSetgetActiveSet(java.lang.String role)Retrieve anActiveSetinstance that contains the components of the given role.
-
-
-
Method Detail
-
getActiveList
public ActiveList getActiveList(java.lang.String role)
Description copied from interface:ActiveCollectionManagerRetrieve anActiveListinstance that contains the components of the given role.- Specified by:
getActiveListin interfaceActiveCollectionManager
-
getActiveMap
public ActiveMap getActiveMap(java.lang.String role)
Description copied from interface:ActiveCollectionManagerRetrieve anActiveMapinstance that contains the components of the given role.- Specified by:
getActiveMapin interfaceActiveCollectionManager
-
getActiveSet
public ActiveSet getActiveSet(java.lang.String role)
Description copied from interface:ActiveCollectionManagerRetrieve anActiveSetinstance that contains the components of the given role.- Specified by:
getActiveSetin interfaceActiveCollectionManager
-
contextualize
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException- Specified by:
contextualizein interfaceorg.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable- Throws:
org.codehaus.plexus.context.ContextException
-
getActiveList
public ActiveList getActiveList(java.lang.Class role)
Description copied from interface:ActiveCollectionManagerRetrieve anActiveListinstance that contains the components of the given role. NOTE: the role which is used is actually the class-name, not the class...so, here ROLE = role.getName().- Specified by:
getActiveListin interfaceActiveCollectionManager- Parameters:
role- the class whose name we will use as the role for the components to retrieve.
-
getActiveMap
public ActiveMap getActiveMap(java.lang.Class role)
Description copied from interface:ActiveCollectionManagerRetrieve anActiveMapinstance that contains the components of the given role. NOTE: the role which is used is actually the class-name, not the class...so, here ROLE = role.getName().- Specified by:
getActiveMapin interfaceActiveCollectionManager- Parameters:
role- the class whose name we will use as the role for the components to retrieve.
-
getActiveSet
public ActiveSet getActiveSet(java.lang.Class role)
Description copied from interface:ActiveCollectionManagerRetrieve anActiveSetinstance that contains the components of the given role. NOTE: the role which is used is actually the class-name, not the class...so, here ROLE = role.getName().- Specified by:
getActiveSetin interfaceActiveCollectionManager- Parameters:
role- the class whose name we will use as the role for the components to retrieve.
-
-