Package org.codehaus.plexus
Interface PlexusContainer
public interface PlexusContainer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponentDescriptor(ComponentDescriptor componentDescriptor) voidaddContextValue(Object key, Object value) voidaddJarRepository(File repository) voidaddJarResource(File resource) createAndAutowire(String clazz) createChildContainer(String name, List classpathJars, Map context) createChildContainer(String name, List classpathJars, Map context, List discoveryListeners) org.codehaus.plexus.classworlds.realm.ClassRealmcreateComponentRealm(String id, List jars) voiddispose()getChildContainer(String name) getComponentDescriptor(String componentKey) org.codehaus.plexus.classworlds.realm.ClassRealmDeprecated.getName()booleanhasChildContainer(String name) booleanhasComponent(String componentKey) booleanhasComponent(String role, String roleHint) booleanlookupList(Class role) lookupList(String role) voidvoidvoidreleaseAll(List components) voidreleaseAll(Map components) voidremoveChildContainer(String name) voidvoidvoidsetLoggerManager(LoggerManager loggerManager) voidvoidsetParentPlexusContainer(PlexusContainer container) voidsetReloadingEnabled(boolean reloadingEnabled) void
-
Field Details
-
ROLE
-
-
Method Details
-
getName
String getName() -
getCreationDate
Date getCreationDate() -
hasChildContainer
-
removeChildContainer
-
getChildContainer
-
lookup
- Throws:
ComponentLookupException
-
lookup
- Throws:
ComponentLookupException
-
lookupMap
- Throws:
ComponentLookupException
-
lookupList
- Throws:
ComponentLookupException
-
lookup
- Throws:
ComponentLookupException
-
lookup
- Throws:
ComponentLookupException
-
lookupMap
- Throws:
ComponentLookupException
-
lookupList
- Throws:
ComponentLookupException
-
getComponentDescriptor
-
getComponentDescriptorMap
-
getComponentDescriptorList
-
addComponentDescriptor
void addComponentDescriptor(ComponentDescriptor componentDescriptor) throws ComponentRepositoryException - Throws:
ComponentRepositoryException
-
release
- Throws:
ComponentLifecycleException
-
releaseAll
- Throws:
ComponentLifecycleException
-
releaseAll
- Throws:
ComponentLifecycleException
-
hasComponent
-
hasComponent
-
suspend
- Throws:
ComponentLifecycleException
-
resume
- Throws:
ComponentLifecycleException
-
dispose
void dispose() -
addContextValue
-
getContext
Context getContext() -
getContainerRealm
org.codehaus.plexus.classworlds.realm.ClassRealm getContainerRealm() -
registerComponentDiscoveryListener
-
removeComponentDiscoveryListener
-
addJarRepository
-
addJarResource
- Throws:
PlexusContainerException
-
autowire
- Throws:
CompositionException
-
createAndAutowire
Object createAndAutowire(String clazz) throws CompositionException, ClassNotFoundException, InstantiationException, IllegalAccessException -
setReloadingEnabled
void setReloadingEnabled(boolean reloadingEnabled) -
isReloadingEnabled
boolean isReloadingEnabled() -
setLoggerManager
-
getLoggerManager
LoggerManager getLoggerManager() -
getLogger
Logger getLogger()Deprecated. -
setName
-
setParentPlexusContainer
-
createChildContainer
PlexusContainer createChildContainer(String name, List classpathJars, Map context) throws PlexusContainerException - Throws:
PlexusContainerException
-
createChildContainer
PlexusContainer createChildContainer(String name, List classpathJars, Map context, List discoveryListeners) throws PlexusContainerException - Throws:
PlexusContainerException
-
createComponentRealm
org.codehaus.plexus.classworlds.realm.ClassRealm createComponentRealm(String id, List jars) throws PlexusContainerException - Throws:
PlexusContainerException
-