diff options
Diffstat (limited to 'archiva-base/archiva-configuration/src')
2 files changed, 5 insertions, 1 deletions
diff --git a/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/ArchivaConfiguration.java b/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/ArchivaConfiguration.java index a914ce712..a8034a847 100644 --- a/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/ArchivaConfiguration.java +++ b/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/ArchivaConfiguration.java @@ -27,6 +27,8 @@ import org.codehaus.plexus.registry.RegistryListener; */ public interface ArchivaConfiguration { + public static final String ROLE = ArchivaConfiguration.class.getName(); + /** * Get the configuration. * @@ -50,4 +52,6 @@ public interface ArchivaConfiguration * @param listener the listener */ void addChangeListener( RegistryListener listener ); + } + diff --git a/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java b/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java index ab64a661d..1b62c3f4b 100644 --- a/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java +++ b/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java @@ -33,7 +33,7 @@ import java.util.Iterator; /** * Implementation of configuration holder that retrieves it from the registry. * - * @plexus.component + * @plexus.component role="org.apache.maven.archiva.configuration.ArchivaConfiguration" */ public class DefaultArchivaConfiguration implements ArchivaConfiguration, RegistryListener, Initializable |