org.codehaus.plexus

Interface ComponentLookupManager

public interface ComponentLookupManager

Authors:
Jason van Zyl
Kenney Westerhof

Field Summary

static String
ROLE

Method Summary

Object
lookup(Class componentClass)
Object
lookup(Class componentClass, ClassRealm realm)
Object
lookup(Class role, String roleHint)
Object
lookup(Class role, String roleHint, ClassRealm realm)
Object
lookup(String componentKey)
Object
lookup(String componentKey, ClassRealm realm)
Object
lookup(String role, String roleHint)
Object
lookup(String role, String roleHint, ClassRealm realm)
List
lookupList(Class role)
List
lookupList(Class role, ClassRealm realm)
List
lookupList(String role)
List
lookupList(String role, ClassRealm realm)
Map
lookupMap(Class role)
Map
lookupMap(Class role, ClassRealm realm)
Map
lookupMap(String role)
Map
lookupMap(String role, ClassRealm realm)

Field Details

ROLE

public static final String ROLE

Method Details

lookup

public Object lookup(Class componentClass)
            throws ComponentLookupException

lookup

public Object lookup(Class componentClass,
                     ClassRealm realm)
            throws ComponentLookupException

lookup

public Object lookup(Class role,
                     String roleHint)
            throws ComponentLookupException

lookup

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

lookup

public Object lookup(String componentKey)
            throws ComponentLookupException

lookup

public Object lookup(String componentKey,
                     ClassRealm realm)
            throws ComponentLookupException

lookup

public Object lookup(String role,
                     String roleHint)
            throws ComponentLookupException

lookup

public Object lookup(String role,
                     String roleHint,
                     ClassRealm realm)
            throws ComponentLookupException

lookupList

public List lookupList(Class role)
            throws ComponentLookupException

lookupList

public List lookupList(Class role,
                       ClassRealm realm)
            throws ComponentLookupException

lookupList

public List lookupList(String role)
            throws ComponentLookupException

lookupList

public List lookupList(String role,
                       ClassRealm realm)
            throws ComponentLookupException

lookupMap

public Map lookupMap(Class role)
            throws ComponentLookupException

lookupMap

public Map lookupMap(Class role,
                     ClassRealm realm)
            throws ComponentLookupException

lookupMap

public Map lookupMap(String role)
            throws ComponentLookupException

lookupMap

public Map lookupMap(String role,
                     ClassRealm realm)
            throws ComponentLookupException