(no commit message)
[utils] / system / general / src / main / java / org / wamblee / system / core / Component.java
index b9b5dad4e5d9cd7ebcf461126ec379b447987693..b36fe56b221163c91d31f22ccf715bf71d9fd27c 100644 (file)
@@ -56,13 +56,13 @@ public interface Component {
         * Gets a description of the provided interfaces. 
         * @return Provided interfaces. 
         */
-       ProvidedInterface[] getProvidedServices();
+       ProvidedInterface[] getProvidedInterfaces();
        
        /**
         * Gets a description of the required interfaces. 
         * @return Required interfaces. 
         */
-       RequiredInterface[] getRequiredServices();
+       RequiredInterface[] getRequiredInterfaces();
 
        
        /**
@@ -71,11 +71,6 @@ public interface Component {
         */
        void start();
        
-       /**
-        * Stops a subsystem. 
-        */
-       void stop(); 
-       
        /**
         * Gets the list of running services in the subsystem. 
         * 
@@ -83,5 +78,10 @@ public interface Component {
         * {@link #initialize(String, Service[])} has been called. 
         * @return
         */
-       ProvidedInterface[] getRunningServices();
+       ProvidedInterface[] getRunningInterfaces();
+       
+       /**
+        * Stops a subsystem. 
+        */
+       void stop(); 
 }