PersistentAuthorizationTest is now componentized.
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Wed, 14 May 2008 19:14:21 +0000 (19:14 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Wed, 14 May 2008 19:14:21 +0000 (19:14 +0000)
system/general/src/main/java/org/wamblee/system/core/Container.java

index d117da95462055d1bfe2a0d703cc1e4551805be2..1a3e9911cccc80b0ae47a3b3890711bb5bcaeda5 100644 (file)
@@ -131,6 +131,14 @@ public class Container extends AbstractComponent<Scope> {
         super.addRequiredInterface(aRequired);
         return this;
     }
+    
+    @Override
+    public void addContext(String aContext) {
+        super.addContext(aContext);
+        for (Component component: _components) { 
+            component.addContext(aContext);
+        }
+    }
 
     /**
      * Validates the components together to check that there are no required