| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabledorg.codehaus.plexus.DefaultPlexusContainerField Summary | |
static String | |
protected PlexusConfiguration | |
Fields inherited from interface org.codehaus.plexus.PlexusContainer | |
ROLE | |
Constructor Summary | |
Method Summary | |
void |
|
void |
|
void |
|
void |
|
void |
|
PlexusContainer |
|
PlexusContainer |
|
Object |
|
List |
|
void |
|
protected void | |
PlexusContainer |
|
ClassWorld | |
ComponentDescriptor |
|
List |
|
Map |
|
ClassRealm |
|
ClassRealm | |
Context | |
ClassRealm | |
Date | |
protected Reader |
|
Logger | |
LoggerManager | |
String |
|
boolean |
|
boolean |
|
boolean |
|
void | |
protected void | |
protected void |
|
void | |
boolean | |
boolean | |
protected void | |
Object |
|
Object |
|
List |
|
Map |
|
void | |
void | |
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled | |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger | |
public void addComponentDescriptor(ComponentDescriptor componentDescriptor) throws ComponentRepositoryException
- Specified by:
- addComponentDescriptor in interface PlexusContainer
public void addContextValue(Object key,
Object value)
- Specified by:
- addContextValue in interface PlexusContainer
public void addJarRepository(File repository)
- Specified by:
- addJarRepository in interface PlexusContainer
public void addJarResource(File jar)
throws PlexusContainerException
- Specified by:
- addJarResource in interface PlexusContainer
public void composeComponent(Object component,
ComponentDescriptor componentDescriptor)
throws CompositionException,
UndefinedComponentComposerException
- Specified by:
- composeComponent in interface PlexusContainer
public PlexusContainer createChildContainer(String name, List classpathJars, Map context) throws PlexusContainerException
- Specified by:
- createChildContainer in interface PlexusContainer
public PlexusContainer createChildContainer(String name, List classpathJars, Map context, List discoveryListeners) throws PlexusContainerException
- Specified by:
- createChildContainer in interface PlexusContainer
public Object createComponentInstance(ComponentDescriptor componentDescriptor) throws ComponentInstantiationException, ComponentLifecycleException
- Specified by:
- createComponentInstance in interface PlexusContainer
public List discoverComponents(ClassRealm classRealm)
throws PlexusConfigurationException,
ComponentRepositoryExceptionTODO: Enhance the ComponentRepository so that it can take entire ComponentSetDescriptors instead of just ComponentDescriptors.
protected void disposeAllComponents()
public PlexusContainer getChildContainer(String name)
- Specified by:
- getChildContainer in interface PlexusContainer
public ClassWorld getClassWorld()
public ComponentDescriptor getComponentDescriptor(String componentKey)
- Specified by:
- getComponentDescriptor in interface PlexusContainer
public List getComponentDescriptorList(String role)
- Specified by:
- getComponentDescriptorList in interface PlexusContainer
public Map getComponentDescriptorMap(String role)
- Specified by:
- getComponentDescriptorMap in interface PlexusContainer
public ClassRealm getComponentRealm(String id)
Deprecated. Use getContainerRealm() instead.
- Specified by:
- getComponentRealm in interface PlexusContainer
public ClassRealm getContainerRealm()
- Specified by:
- getContainerRealm in interface PlexusContainer
public ClassRealm getCoreRealm()
public Date getCreationDate()
- Specified by:
- getCreationDate in interface PlexusContainer
protected Reader getInterpolationConfigurationReader(Reader reader)
public Logger getLogger()
- Specified by:
- getLogger in interface PlexusContainer
- Overrides:
- getLogger in interface AbstractLogEnabled
public LoggerManager getLoggerManager()
- Specified by:
- getLoggerManager in interface PlexusContainer
public String getName()
public boolean hasChildContainer(String name)
- Specified by:
- hasChildContainer in interface PlexusContainer
public boolean hasComponent(String componentKey)
- Specified by:
- hasComponent in interface PlexusContainer
public boolean hasComponent(String role,
String roleHint)
- Specified by:
- hasComponent in interface PlexusContainer
public void initialize()
throws PlexusContainerException
- Specified by:
- initialize in interface PlexusContainer
protected void initializeConfiguration()
throws ConfigurationProcessingException,
ConfigurationResourceNotFoundException,
PlexusConfigurationExceptionprotected void initializeName()
Create a name for our application if one doesn't exist.
protected void loadComponentsOnStart()
throws PlexusConfigurationException,
ComponentLookupExceptionpublic Object lookup(String componentKey)
throws ComponentLookupException
- Specified by:
- lookup in interface PlexusContainer
public Object lookup(String role,
String roleHint)
throws ComponentLookupException
- Specified by:
- lookup in interface PlexusContainer
public List lookupList(String role)
throws ComponentLookupException
- Specified by:
- lookupList in interface PlexusContainer
public Map lookupMap(String role)
throws ComponentLookupException
- Specified by:
- lookupMap in interface PlexusContainer
public void registerComponentDiscoveryListener(ComponentDiscoveryListener listener)
- Specified by:
- registerComponentDiscoveryListener in interface PlexusContainer
public void registerComponentDiscoveryListeners()
throws ComponentLookupExceptionpublic void release(Object component)
throws ComponentLifecycleException
- Specified by:
- release in interface PlexusContainer
public void releaseAll(List components)
throws ComponentLifecycleException
- Specified by:
- releaseAll in interface PlexusContainer
public void releaseAll(Map components)
throws ComponentLifecycleException
- Specified by:
- releaseAll in interface PlexusContainer
public void removeChildContainer(String name)
- Specified by:
- removeChildContainer in interface PlexusContainer
public void removeComponentDiscoveryListener(ComponentDiscoveryListener listener)
- Specified by:
- removeComponentDiscoveryListener in interface PlexusContainer
public void resume(Object component)
throws ComponentLifecycleException
- Specified by:
- resume in interface PlexusContainer
public void setClassWorld(ClassWorld classWorld)
public void setConfigurationResource(Reader configuration)
throws PlexusConfigurationResourceException
- Specified by:
- setConfigurationResource in interface PlexusContainer
public void setCoreRealm(ClassRealm coreRealm)
public void setLoggerManager(LoggerManager loggerManager)
- Specified by:
- setLoggerManager in interface PlexusContainer
public void setName(String name)
public void setParentPlexusContainer(PlexusContainer parentContainer)
- Specified by:
- setParentPlexusContainer in interface PlexusContainer
public void start()
throws PlexusContainerException
- Specified by:
- start in interface PlexusContainer
public void suspend(Object component)
throws ComponentLifecycleException
- Specified by:
- suspend in interface PlexusContainer