org.codehaus.plexus.component.repository
Interface ComponentRepository
- All Known Implementing Classes:
- DefaultComponentRepository
- public interface ComponentRepository
Like the avalon component manager. Central point to get the components from.
TODO: Enhance the ComponentRepository so that it can take entire
ComponentSetDescriptors instead of just ComponentDescriptors.
configure
public void configure(PlexusConfiguration configuration)
initialize
public void initialize()
throws ComponentRepositoryException
- Throws:
ComponentRepositoryException
hasComponent
public boolean hasComponent(java.lang.String role)
hasComponent
public boolean hasComponent(java.lang.String role,
java.lang.String id)
addComponentDescriptor
public void addComponentDescriptor(ComponentDescriptor componentDescriptor)
throws ComponentRepositoryException
- Throws:
ComponentRepositoryException
addComponentDescriptor
public void addComponentDescriptor(PlexusConfiguration configuration)
throws ComponentRepositoryException
- Throws:
ComponentRepositoryException
getComponentDescriptor
public ComponentDescriptor getComponentDescriptor(java.lang.String role)
getComponentDescriptorMap
public java.util.Map getComponentDescriptorMap(java.lang.String role)
getComponentDependencies
public java.util.List getComponentDependencies(ComponentDescriptor componentDescriptor)
validateComponentDescriptor
public void validateComponentDescriptor(ComponentDescriptor componentDescriptor)
throws ComponentImplementationNotFoundException
- Throws:
ComponentImplementationNotFoundException
setClassRealm
public void setClassRealm(org.codehaus.classworlds.ClassRealm classRealm)
Copyright © 2001-2007 Codehaus. All Rights Reserved.