Better solution for setting the context. The context is now known as soon as componen...
[utils] / system / general / src / main / java / org / wamblee / system / Component.java
index 0234005f958be3922c8eb719ccf27323a47fda38..e06532669ce5a49c179fc5d54c0214c9b5e20d45 100644 (file)
@@ -39,6 +39,11 @@ public interface Component {
         */
        String getName();
        
+       /**
+        * Prepends the context with a super context. 
+        */
+       void addContext(String aContext);
+       
        /**
         * Gets the fully qualified name of the component which includes
         * the context of the component.  
@@ -63,9 +68,8 @@ public interface Component {
        /**
         * Initialises the subsytem by starting all the services that
         * it described as provided. 
-        * @param aContext Unique name for the subsystem.  
         */
-       void start(String aContext);
+       void start();
        
        /**
         * Stops a subsystem.