public class DefaultActiveCollectionManager extends Object implements ActiveCollectionManager, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
ROLE
Constructor and Description |
---|
DefaultActiveCollectionManager() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
ActiveList |
getActiveList(Class role)
Retrieve an
ActiveList instance that contains the components of the given role. |
ActiveList |
getActiveList(String role)
Retrieve an
ActiveList instance that contains the components of the given role. |
ActiveMap |
getActiveMap(Class role)
Retrieve an
ActiveMap instance that contains the components of the given role. |
ActiveMap |
getActiveMap(String role)
Retrieve an
ActiveMap instance that contains the components of the given role. |
ActiveSet |
getActiveSet(Class role)
Retrieve an
ActiveSet instance that contains the components of the given role. |
ActiveSet |
getActiveSet(String role)
Retrieve an
ActiveSet instance that contains the components of the given role. |
public ActiveList getActiveList(String role)
ActiveCollectionManager
ActiveList
instance that contains the components of the given role.getActiveList
in interface ActiveCollectionManager
public ActiveMap getActiveMap(String role)
ActiveCollectionManager
ActiveMap
instance that contains the components of the given role.getActiveMap
in interface ActiveCollectionManager
public ActiveSet getActiveSet(String role)
ActiveCollectionManager
ActiveSet
instance that contains the components of the given role.getActiveSet
in interface ActiveCollectionManager
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
org.codehaus.plexus.context.ContextException
public ActiveList getActiveList(Class role)
ActiveCollectionManager
ActiveList
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().getActiveList
in interface ActiveCollectionManager
role
- the class whose name we will use as the role for the components to retrieve.public ActiveMap getActiveMap(Class role)
ActiveCollectionManager
ActiveMap
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().getActiveMap
in interface ActiveCollectionManager
role
- the class whose name we will use as the role for the components to retrieve.public ActiveSet getActiveSet(Class role)
ActiveCollectionManager
ActiveSet
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().getActiveSet
in interface ActiveCollectionManager
role
- the class whose name we will use as the role for the components to retrieve.Copyright © 2001–2014 Codehaus. All rights reserved.