public interface PlexusContainer
static final String ROLE
String getName()
Date getCreationDate()
boolean hasChildContainer(String name)
void removeChildContainer(String name)
PlexusContainer getChildContainer(String name)
Object 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
ComponentLookupExceptionObject lookup(Class componentClass) throws ComponentLookupException
ComponentLookupExceptionObject lookup(Class role, String roleHint) throws ComponentLookupException
ComponentLookupExceptionMap lookupMap(Class role) throws ComponentLookupException
ComponentLookupExceptionList lookupList(Class 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 dispose()
Context getContext()
org.codehaus.plexus.classworlds.realm.ClassRealm getContainerRealm()
void registerComponentDiscoveryListener(ComponentDiscoveryListener listener)
void removeComponentDiscoveryListener(ComponentDiscoveryListener listener)
void addJarRepository(File repository)
void addJarResource(File resource) throws PlexusContainerException
PlexusContainerExceptionObject autowire(Object component) throws CompositionException
CompositionExceptionObject createAndAutowire(String clazz) throws CompositionException, ClassNotFoundException, InstantiationException, IllegalAccessException
void setReloadingEnabled(boolean reloadingEnabled)
boolean isReloadingEnabled()
void setLoggerManager(LoggerManager loggerManager)
LoggerManager getLoggerManager()
Logger getLogger()
void setName(String name)
void setParentPlexusContainer(PlexusContainer container)
PlexusContainer createChildContainer(String name, List classpathJars, Map context) throws PlexusContainerException
PlexusContainerExceptionPlexusContainer createChildContainer(String name, List classpathJars, Map context, List discoveryListeners) throws PlexusContainerException
PlexusContainerExceptionorg.codehaus.plexus.classworlds.realm.ClassRealm createComponentRealm(String id, List jars) throws PlexusContainerException
PlexusContainerExceptionCopyright © 2001–2024 Codehaus Plexus. All rights reserved.