org.codehaus.plexus
public interface PlexusContainer
static final String ROLE
Date getCreationDate()
boolean hasChildContainer(String name)
void removeChildContainer(String name)
PlexusContainer getChildContainer(String name)
PlexusContainer createChildContainer(String name, List classpathJars, Map context) throws PlexusContainerException
PlexusContainerException
PlexusContainer createChildContainer(String name, List classpathJars, Map context, List discoveryListeners) throws PlexusContainerException
PlexusContainerException
Object lookup(String componentKey) throws ComponentLookupException
ComponentLookupException
Object lookup(String role, String roleHint) throws ComponentLookupException
ComponentLookupException
Map lookupMap(String role) throws ComponentLookupException
ComponentLookupException
List lookupList(String role) throws ComponentLookupException
ComponentLookupException
ComponentDescriptor getComponentDescriptor(String componentKey)
void addComponentDescriptor(ComponentDescriptor componentDescriptor) throws ComponentRepositoryException
ComponentRepositoryException
void release(Object component) throws ComponentLifecycleException
ComponentLifecycleException
void releaseAll(Map components) throws ComponentLifecycleException
ComponentLifecycleException
void releaseAll(List components) throws ComponentLifecycleException
ComponentLifecycleException
boolean hasComponent(String componentKey)
void suspend(Object component) throws ComponentLifecycleException
ComponentLifecycleException
void resume(Object component) throws ComponentLifecycleException
ComponentLifecycleException
void initialize() throws PlexusContainerException
PlexusContainerException
boolean isInitialized()
void start() throws PlexusContainerException
PlexusContainerException
boolean isStarted()
void dispose()
Context getContext()
void setParentPlexusContainer(PlexusContainer parentContainer)
void setConfigurationResource(Reader configuration) throws PlexusConfigurationResourceException
Logger getLogger()
Object createComponentInstance(ComponentDescriptor componentDescriptor) throws ComponentInstantiationException, ComponentLifecycleException
void composeComponent(Object component, ComponentDescriptor componentDescriptor) throws CompositionException, UndefinedComponentComposerException
void registerComponentDiscoveryListener(ComponentDiscoveryListener listener)
void removeComponentDiscoveryListener(ComponentDiscoveryListener listener)
void addJarRepository(File repository)
void addJarResource(File resource) throws PlexusContainerException
PlexusContainerException
ClassRealm getContainerRealm()
ClassRealm getComponentRealm(String componentKey)
void setLoggerManager(LoggerManager loggerManager)
LoggerManager getLoggerManager()