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
PlexusContainerExceptionPlexusContainer createChildContainer(String name, List classpathJars, Map context, List discoveryListeners) throws PlexusContainerException
PlexusContainerExceptionObject lookup(String componentKey) throws ComponentLookupException
ComponentLookupExceptionObject lookup(String role, String roleHint) throws ComponentLookupException
ComponentLookupExceptionMap lookupMap(String role) throws ComponentLookupException
ComponentLookupExceptionList lookupList(String role) throws ComponentLookupException
ComponentLookupExceptionComponentDescriptor getComponentDescriptor(String componentKey)
void addComponentDescriptor(ComponentDescriptor componentDescriptor) throws ComponentRepositoryException
ComponentRepositoryExceptionvoid release(Object component) throws ComponentLifecycleException
ComponentLifecycleExceptionvoid releaseAll(Map components) throws ComponentLifecycleException
ComponentLifecycleExceptionvoid releaseAll(List components) throws ComponentLifecycleException
ComponentLifecycleExceptionboolean hasComponent(String componentKey)
void suspend(Object component) throws ComponentLifecycleException
ComponentLifecycleExceptionvoid resume(Object component) throws ComponentLifecycleException
ComponentLifecycleExceptionvoid initialize()
throws PlexusContainerException
PlexusContainerExceptionboolean isInitialized()
void start()
throws PlexusContainerException
PlexusContainerExceptionboolean 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
PlexusContainerExceptionClassRealm getContainerRealm()
ClassRealm getComponentRealm(String componentKey)
void setLoggerManager(LoggerManager loggerManager)
LoggerManager getLoggerManager()