rename subsystem to component.
[utils] / system / general / src / main / java / org / wamblee / system / Service.java
index 0db48511d90562d2a423dc22cddb19c7cf6ef144..63988f08943ca5a89f2604cad363a9f3e713b8f3 100644 (file)
@@ -2,13 +2,22 @@ package org.wamblee.system;
 
 /**
  * Represents a running service.
+ *
+ * @author Erik Brakkee
  */
 public interface Service {
+       
+       /**
+        * Gets the ide of the service in the registry. 
+        * @return Service id. 
+        */
+       String getId(); 
+       
        /**
         * Gets the descriptor of the service. 
         * @return Descriptor. 
         */
-       ServiceDescriptor getDescriptor(); 
+       ProvidedInterfaceDescriptor getDescriptor(); 
        
        /**
         * Returns a reference to the running service.