--- ExcaliburComponentManager.old	Thu Mar 14 14:39:11 2002
+++ ExcaliburComponentManager.java	Thu Mar 14 14:39:04 2002
@@ -25,8 +25,10 @@
 import org.apache.avalon.framework.context.Context;
 import org.apache.avalon.framework.context.Contextualizable;
 import org.apache.avalon.framework.logger.AbstractLoggable;
+import org.apache.avalon.framework.logger.LogKitLogger;
 import org.apache.avalon.excalibur.logger.LogKitManager;
 import org.apache.avalon.excalibur.logger.LogKitManageable;
+import org.apache.avalon.excalibur.context.ContextUtility;
 
 import org.apache.avalon.excalibur.collections.BucketMap;
 
@@ -402,7 +404,13 @@
         {
             String type = configurations[i].getName();
 
-            if( !type.equals( "role" ) )
+            if (type.equals("context"))
+            {
+                // Fill in context-data
+				m_context = ContextUtility.createContextFromConfiguration(m_context, configurations[i],
+						new LogKitLogger( getLogger() ) );
+            }
+            else if( !type.equals( "role" ) )
             {
                 String role = configurations[ i ].getAttribute( "role", "" );
                 String className = configurations[ i ].getAttribute( "class", "" );

