added default container to support classes directly.
[utils] / system / general / src / main / java / org / wamblee / system / core / Scope.java
index 9db462f5c4393a873aaf3713272d67ee9f10a8e3..ea814da377ee14938b7a0d0c02a77f5409a06459 100644 (file)
@@ -73,5 +73,13 @@ public interface Scope {
         * @param aComponent Component for which we want to get the runtime.  
         * @return Runtime.  
         */
-       Object getRuntime(Component aComponent); 
+       Object getRuntime(Component aComponent);
+       
+       /**
+        * Gets the runtime for a component based on the name of the component
+        * (excluding its context). 
+        * @param aName Component name. 
+        * @return Component name. 
+        */
+       Object getRuntime(String aName);
 }