1 package org.codehaus.plexus.configuration.source;
2
3 import org.codehaus.plexus.component.repository.ComponentDescriptor;
4 import org.codehaus.plexus.configuration.PlexusConfiguration;
5
6 /**
7 * A source for component configurations which may reside outside the configuration within a component descriptor. A
8 * common usecase for this is to create a unified configuration for a set of components. For an application it is more
9 * convenient to present the user with a single configuration, instead of making users work directly with a Plexus
10 * configuration file which exposes component details including implementation, and wiring information.
11 *
12 * @author Jason van Zyl
13 */
14 public interface ConfigurationSource {
15 String ROLE = ConfigurationSource.class.getName();
16
17 PlexusConfiguration getConfiguration(ComponentDescriptor componentDescriptor);
18 }