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 Object
implements ActiveCollectionManager, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
-
Field Summary
FieldsFields inherited from interface org.codehaus.plexus.collections.ActiveCollectionManager
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(org.codehaus.plexus.context.Context context) getActiveList
(Class role) Retrieve anActiveList
instance that contains the components of the given role.getActiveList
(String role) Retrieve anActiveList
instance that contains the components of the given role.getActiveMap
(Class role) Retrieve anActiveMap
instance that contains the components of the given role.getActiveMap
(String role) Retrieve anActiveMap
instance that contains the components of the given role.getActiveSet
(Class role) Retrieve anActiveSet
instance that contains the components of the given role.getActiveSet
(String role) Retrieve anActiveSet
instance that contains the components of the given role.
-
Field Details
-
container
private org.codehaus.plexus.PlexusContainer container
-
-
Constructor Details
-
DefaultActiveCollectionManager
public DefaultActiveCollectionManager()
-
-
Method Details
-
getActiveList
Description copied from interface:ActiveCollectionManager
Retrieve anActiveList
instance that contains the components of the given role.- Specified by:
getActiveList
in interfaceActiveCollectionManager
-
getActiveMap
Description copied from interface:ActiveCollectionManager
Retrieve anActiveMap
instance that contains the components of the given role.- Specified by:
getActiveMap
in interfaceActiveCollectionManager
-
getActiveSet
Description copied from interface:ActiveCollectionManager
Retrieve anActiveSet
instance that contains the components of the given role.- Specified by:
getActiveSet
in interfaceActiveCollectionManager
-
contextualize
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException - Specified by:
contextualize
in interfaceorg.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Throws:
org.codehaus.plexus.context.ContextException
-
getActiveList
Description copied from interface:ActiveCollectionManager
Retrieve anActiveList
instance 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:
getActiveList
in interfaceActiveCollectionManager
- Parameters:
role
- the class whose name we will use as the role for the components to retrieve.
-
getActiveMap
Description copied from interface:ActiveCollectionManager
Retrieve anActiveMap
instance 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:
getActiveMap
in interfaceActiveCollectionManager
- Parameters:
role
- the class whose name we will use as the role for the components to retrieve.
-
getActiveSet
Description copied from interface:ActiveCollectionManager
Retrieve anActiveSet
instance 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:
getActiveSet
in interfaceActiveCollectionManager
- Parameters:
role
- the class whose name we will use as the role for the components to retrieve.
-