org.codehaus.plexus.component.repository
Interface ComponentRepository

All Known Implementing Classes:
DefaultComponentRepository

public interface ComponentRepository


Method Summary
 void addComponentDescriptor(org.codehaus.plexus.component.repository.ComponentDescriptor componentDescriptor)
           
 void addComponentDescriptor(org.codehaus.plexus.configuration.PlexusConfiguration configuration)
           
 void configure(org.codehaus.plexus.configuration.PlexusConfiguration configuration)
           
 java.util.List getComponentDependencies(org.codehaus.plexus.component.repository.ComponentDescriptor componentDescriptor)
           
 org.codehaus.plexus.component.repository.ComponentDescriptor getComponentDescriptor(java.lang.String role)
           
 java.util.Map getComponentDescriptorMap(java.lang.String role)
           
 boolean hasComponent(java.lang.String role)
           
 boolean hasComponent(java.lang.String role, java.lang.String id)
           
 void initialize()
           
 void setClassRealm(org.codehaus.plexus.classworlds.realm.ClassRealm classRealm)
           
 void validateComponentDescriptor(org.codehaus.plexus.component.repository.ComponentDescriptor componentDescriptor)
           
 

Method Detail

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(java.lang.String role)

hasComponent

boolean hasComponent(java.lang.String role,
                     java.lang.String id)

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(java.lang.String role)

getComponentDescriptorMap

java.util.Map getComponentDescriptorMap(java.lang.String role)

getComponentDependencies

java.util.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-2006 Codehaus. All Rights Reserved.