org.codehaus.plexus
Class DefaultComponentLookupManager
java.lang.Object
org.codehaus.plexus.DefaultComponentLookupManager
- All Implemented Interfaces:
- ComponentLookupManager
public class DefaultComponentLookupManager
- extends java.lang.Object
- implements ComponentLookupManager
- Author:
- Jason van Zyl
Method Summary |
java.lang.Object |
lookup(java.lang.String componentKey)
|
java.lang.Object |
lookup(java.lang.String role,
java.lang.String roleHint)
|
java.util.List |
lookupList(java.lang.String role)
//todo Change this to include components looked up from parents as well... |
java.util.Map |
lookupMap(java.lang.String role)
//todo Change this to include components looked up from parents as well... |
void |
setContainer(MutablePlexusContainer container)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultComponentLookupManager
public DefaultComponentLookupManager()
lookup
public java.lang.Object lookup(java.lang.String componentKey)
throws ComponentLookupException
- Specified by:
lookup
in interface ComponentLookupManager
- Throws:
ComponentLookupException
lookupMap
public java.util.Map lookupMap(java.lang.String role)
throws ComponentLookupException
- //todo Change this to include components looked up from parents as well...
- Specified by:
lookupMap
in interface ComponentLookupManager
- Throws:
ComponentLookupException
lookupList
public java.util.List lookupList(java.lang.String role)
throws ComponentLookupException
- //todo Change this to include components looked up from parents as well...
- Specified by:
lookupList
in interface ComponentLookupManager
- Throws:
ComponentLookupException
lookup
public java.lang.Object lookup(java.lang.String role,
java.lang.String roleHint)
throws ComponentLookupException
- Specified by:
lookup
in interface ComponentLookupManager
- Throws:
ComponentLookupException
setContainer
public void setContainer(MutablePlexusContainer container)
- Specified by:
setContainer
in interface ComponentLookupManager
Copyright © 2001-2006 Codehaus. All Rights Reserved.