now linking required and provided interfaces only once.
[utils] / trunk / system / general / src / main / java / org / wamblee / system / core / Scope.java
index 4f26f53df485e52c7a1cbd5dab5611b0d0459a1b..fe83e85709c8083526dbc81873836815a85ec066 100644 (file)
@@ -15,6 +15,8 @@
  */ 
 package org.wamblee.system.core;
 
+import java.util.List;
+
 /**
  * A scope represents a set of running services and the runtime information for the 
  * started components and is (usually) the result of 
@@ -28,7 +30,7 @@ public interface Scope {
         * Gets the provided interfaces by this scope. 
         * @return Provided interfaces. 
         */
-       ProvidedInterface[] getProvidedInterfaces();
+       List<ProvidedInterface> getProvidedInterfaces();
        
        /**
         * Adds a key value pair to the scope. 
@@ -53,7 +55,6 @@ public interface Scope {
        
        /**
         * Publishes an implementation of a provided interface. 
-        * @param aComponent Component that provides the interface.
         * @param aInterface Interface that is provided.
         * @param aImplementation Implementation of the interface.  
         */