aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-base/archiva-configuration/src
diff options
context:
space:
mode:
authorJesse McConnell <jmcconnell@apache.org>2007-04-13 15:32:51 +0000
committerJesse McConnell <jmcconnell@apache.org>2007-04-13 15:32:51 +0000
commitc440e1e291ad593d1821b64b07289be86c5bc68a (patch)
treea636d2ab91fe6cc6c4b6b58cb6795d3f59f5107d /archiva-base/archiva-configuration/src
parente970003cf5b624784bb2fbfebe259da3aa01574e (diff)
downloadarchiva-c440e1e291ad593d1821b64b07289be86c5bc68a.tar.gz
archiva-c440e1e291ad593d1821b64b07289be86c5bc68a.zip
working archiva-ali again
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528525 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-base/archiva-configuration/src')
-rw-r--r--archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/ArchivaConfiguration.java4
-rw-r--r--archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java2
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