incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r823519 - /incubator/ace/trunk/test/src/org/apache/ace/test/repositoryadmin/Activator.java
Date Fri, 09 Oct 2009 12:04:41 GMT
Author: marrs
Date: Fri Oct  9 12:04:41 2009
New Revision: 823519

URL: http://svn.apache.org/viewvc?rev=823519&view=rev
Log:
More tests.

Modified:
    incubator/ace/trunk/test/src/org/apache/ace/test/repositoryadmin/Activator.java

Modified: incubator/ace/trunk/test/src/org/apache/ace/test/repositoryadmin/Activator.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/test/src/org/apache/ace/test/repositoryadmin/Activator.java?rev=823519&r1=823518&r2=823519&view=diff
==============================================================================
--- incubator/ace/trunk/test/src/org/apache/ace/test/repositoryadmin/Activator.java (original)
+++ incubator/ace/trunk/test/src/org/apache/ace/test/repositoryadmin/Activator.java Fri Oct
 9 12:04:41 2009
@@ -54,9 +54,6 @@
 
     @Override
     protected void initServices(BundleContext context, DependencyManager manager) {
-        manager.add(createService()
-            .setImplementation(this)
-            .add(createServiceDependency().setService(ConfigurationAdmin.class).setRequired(true)));
         Dictionary<String, Object> topics = new Hashtable<String, Object>();
         topics.put(EventConstants.EVENT_TOPIC, new String[] {RepositoryObject.PUBLIC_TOPIC_ROOT
+ "*",
             RepositoryObject.PRIVATE_TOPIC_ROOT + "*",
@@ -79,6 +76,9 @@
             .add(createServiceDependency().setService(StatefulGatewayRepository.class).setRequired(true))
             .add(createServiceDependency().setService(LogStore.class, "(&(" + Constants.OBJECTCLASS
+ "=" + LogStore.class.getName() + ")(name=auditlog))").setRequired(true))
             .add(createServiceDependency().setService(ConfigurationAdmin.class).setRequired(true)));
+        manager.add(createService()
+            .setImplementation(this)
+            .add(createServiceDependency().setService(ConfigurationAdmin.class).setRequired(true)));
     }
 
     public void start() throws IOException {



Mime
View raw message