org.codehaus.plexus

Class DefaultComponentLookupManager

public class DefaultComponentLookupManager extends Object implements MutableComponentLookupManager

Author: Jason van Zyl Kenney Westerhof

Field Summary
MutablePlexusContainercontainer
Method Summary
ComponentManagercreateComponentManager(ComponentDescriptor descriptor, String role, String roleHint, ClassRealm realm)
Objectlookup(String componentRole)
Objectlookup(String componentRole, ClassRealm realm)
Objectlookup(Class componentClass)
Objectlookup(Class componentClass, ClassRealm realm)
Objectlookup(Class role, String roleHint, ClassRealm realm)
Objectlookup(String role, String roleHint)
Objectlookup(Class role, String roleHint)
Objectlookup(String componentRole, String roleHint, ClassRealm realm)
ListlookupList(String role)
ListlookupList(Class role)
ListlookupList(Class role, ClassRealm realm)
ListlookupList(String role, ClassRealm realm)
ListlookupList(String role, List hints)
ListlookupList(Class role, List hints)
ListlookupList(Class role, List hints, ClassRealm realm)
ListlookupList(String role, List hints, ClassRealm realm)
Return a List of components for a given role and list of hints.
MaplookupMap(String role)
MaplookupMap(Class role, ClassRealm realm)
MaplookupMap(String role, ClassRealm realm)
MaplookupMap(Class role)
MaplookupMap(String role, List hints)
MaplookupMap(Class role, List hints, ClassRealm realm)
MaplookupMap(Class role, List hints)
MaplookupMap(String role, List hints, ClassRealm realm)
Return a Map of components for a given role keyed by the component role hint.
voidsetContainer(MutablePlexusContainer container)

Field Detail

container

private MutablePlexusContainer container

Method Detail

createComponentManager

public ComponentManager createComponentManager(ComponentDescriptor descriptor, String role, String roleHint, ClassRealm realm)

lookup

public Object lookup(String componentRole)

lookup

public Object lookup(String componentRole, ClassRealm realm)

lookup

public Object lookup(Class componentClass)

lookup

public Object lookup(Class componentClass, ClassRealm realm)

lookup

public Object lookup(Class role, String roleHint, ClassRealm realm)

lookup

public Object lookup(String role, String roleHint)

lookup

public Object lookup(Class role, String roleHint)

lookup

public Object lookup(String componentRole, String roleHint, ClassRealm realm)

lookupList

public List lookupList(String role)

lookupList

public List lookupList(Class role)

lookupList

public List lookupList(Class role, ClassRealm realm)

lookupList

public List lookupList(String role, ClassRealm realm)

lookupList

public List lookupList(String role, List hints)

lookupList

public List lookupList(Class role, List hints)

lookupList

public List lookupList(Class role, List hints, ClassRealm realm)

lookupList

public List lookupList(String role, List hints, ClassRealm realm)
Return a List of components for a given role and list of hints.

UNKNOWN: Change this to include components looked up from parents as well...

lookupMap

public Map lookupMap(String role)

lookupMap

public Map lookupMap(Class role, ClassRealm realm)

lookupMap

public Map lookupMap(String role, ClassRealm realm)

lookupMap

public Map lookupMap(Class role)

lookupMap

public Map lookupMap(String role, List hints)

lookupMap

public Map lookupMap(Class role, List hints, ClassRealm realm)

lookupMap

public Map lookupMap(Class role, List hints)

lookupMap

public Map lookupMap(String role, List hints, ClassRealm realm)
Return a Map of components for a given role keyed by the component role hint.

UNKNOWN: Change this to include components looked up from parents as well...

setContainer

public void setContainer(MutablePlexusContainer container)