org.codehaus.plexus
Interface PlexusContainer
- All Known Implementing Classes:
- ComponentPlexusContainer, DefaultPlexusContainer
- public interface PlexusContainer
Field Summary |
static java.lang.String |
ROLE
|
ROLE
public static final java.lang.String ROLE
lookup
public java.lang.Object lookup(java.lang.String componentKey)
throws ComponentLookupException
- Throws:
ComponentLookupException
lookup
public java.lang.Object lookup(java.lang.String role,
java.lang.String id)
throws ComponentLookupException
- Throws:
ComponentLookupException
lookupMap
public java.util.Map lookupMap(java.lang.String role)
throws ComponentLookupException
- Throws:
ComponentLookupException
lookupList
public java.util.List lookupList(java.lang.String role)
throws ComponentLookupException
- Throws:
ComponentLookupException
getComponentDescriptorMap
public java.util.Map getComponentDescriptorMap(java.lang.String role)
getComponentDescriptor
public ComponentDescriptor getComponentDescriptor(java.lang.String role)
release
public void release(java.lang.Object component)
releaseAll
public void releaseAll(java.util.Map components)
releaseAll
public void releaseAll(java.util.List components)
hasComponent
public boolean hasComponent(java.lang.String componentKey)
hasComponent
public boolean hasComponent(java.lang.String role,
java.lang.String id)
suspend
public void suspend(java.lang.Object component)
resume
public void resume(java.lang.Object component)
initialize
public void initialize()
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
dispose
public void dispose()
throws java.lang.Exception
- Throws:
java.lang.Exception
addContextValue
public void addContextValue(java.lang.Object key,
java.lang.Object value)
setConfigurationResource
public void setConfigurationResource(java.io.Reader configuration)
throws PlexusConfigurationResourceException
- Throws:
PlexusConfigurationResourceException