some major refactoring.
[utils] / trunk / system / general / src / main / java / org / wamblee / system / Component.java
index e72dd7f0b37978da6452701d0f32f282fe894ccd..4083c5bd6fc9e28f2e4b04e096e659d06b5d0d9b 100644 (file)
@@ -40,12 +40,9 @@ public interface Component {
        /**
         * Initialises the subsytem by starting all the services that
         * it described as provided. 
-        * @param aContext Unique name for the subsystem. 
-        * @param aRequiredServices Running services from other 
-        * subsystems that are required by this subsystem. 
-        * @return Services that are running in the subsystem. 
+        * @param aContext Unique name for the subsystem.  
         */
-       Service[] start(String aContext, Service[] aRequiredServices);
+       void start(String aContext);
        
        /**
         * Stops a subsystem. 
@@ -59,5 +56,5 @@ public interface Component {
         * {@link #initialize(String, Service[])} has been called. 
         * @return
         */
-       Service[] getRunningServices();
+       ProvidedInterface[] getRunningServices();
 }