(no commit message)
[utils] / system / general / src / main / java / org / wamblee / system / SubSystem.java
index 9d68ee4e39a98c312c21790fd8b7ac5d1d03e8ee..babb9e025edbd7ce2e15bdeb114e576451b19aaf 100644 (file)
@@ -29,11 +29,13 @@ public interface SubSystem {
         * Initialises the subsytem by starting all the services that
         * it described as provided. 
         * @param aContext Unique name for the subsystem. 
+        * @param aRegistry Registry of service to which the subsystem must register the services it
+        *   creates. 
         * @param aRequiredServices Running services from other 
         * subsystems that are required by this subsystem. 
         * @return Services that are running in the subsystem. 
         */
-       Service[] initialize(String aContext, Service[] aRequiredServices);
+       Service[] start(String aContext, ServiceRegistry aRegistry, Service[] aRequiredServices);
        
        /**
         * Gets the list of running services in the subsystem.