(no commit message)
[utils] / system / general / src / main / java / org / wamblee / system / core / Component.java
index 48293d4518b88a35be628e928b11c350c30805a8..49ed1c7dc26cee0c70ddb8d4b390f98044ef7fd0 100644 (file)
@@ -60,21 +60,20 @@ public interface Component<Type> {
         * Gets a description of the provided interfaces. 
         * @return Provided interfaces. 
         */
-       ProvidedInterface[] getProvidedInterfaces();
+       ProvidedInterfaces getProvidedInterfaces();
        
        /**
         * Gets a description of the required interfaces. 
         * @return Required interfaces. 
         */
-       RequiredInterface[] getRequiredInterfaces();
+       RequiredInterfaces getRequiredInterfaces();
 
        
        /**
         * Initialises the subsystem by starting all the services that
         * it described as provided.
         * @param aScope Scope with external interface implementations that are available. The component 
-        *  implementation can either oublish itself in this scope or it can decide to
-        *  create a new scope with the scope passed in as a parent. 
+        *  must publish its runtime and its provided interfaces in this scope. 
         * @return Gets an object representing the runtime of the component.  
         */
        Type start(Scope aScope);