org.codehaus.plexus.component.repository
Interface ComponentRepository
- All Known Implementing Classes:
- DefaultComponentRepository
public interface ComponentRepository
configure
void configure(org.codehaus.plexus.configuration.PlexusConfiguration configuration)
initialize
void initialize()
throws org.codehaus.plexus.component.repository.exception.ComponentRepositoryException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentRepositoryException
hasComponent
boolean hasComponent(String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
hasComponent
boolean hasComponent(String role,
String id,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
addComponentDescriptor
void addComponentDescriptor(org.codehaus.plexus.component.repository.ComponentDescriptor componentDescriptor)
throws org.codehaus.plexus.component.repository.exception.ComponentRepositoryException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentRepositoryException
addComponentDescriptor
void addComponentDescriptor(org.codehaus.plexus.configuration.PlexusConfiguration configuration)
throws org.codehaus.plexus.component.repository.exception.ComponentRepositoryException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentRepositoryException
getComponentDescriptor
org.codehaus.plexus.component.repository.ComponentDescriptor getComponentDescriptor(String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
getComponentDescriptor
org.codehaus.plexus.component.repository.ComponentDescriptor getComponentDescriptor(String role,
String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
getComponentDescriptorMap
Map getComponentDescriptorMap(String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
getComponentDependencies
List getComponentDependencies(org.codehaus.plexus.component.repository.ComponentDescriptor componentDescriptor)
validateComponentDescriptor
void validateComponentDescriptor(org.codehaus.plexus.component.repository.ComponentDescriptor componentDescriptor)
throws org.codehaus.plexus.component.repository.exception.ComponentImplementationNotFoundException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentImplementationNotFoundException
setClassRealm
void setClassRealm(org.codehaus.plexus.classworlds.realm.ClassRealm classRealm)
Copyright © 2001-2010 Codehaus. All Rights Reserved.