avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Shaw <r...@silveregg.co.jp>
Subject [PATCH] src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java
Date Tue, 05 Feb 2002 05:11:19 GMT
Index: src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java
===================================================================
RCS file: /home/cvspublic/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java,v
retrieving revision 1.4
diff -u -r1.4 AbstractContainer.java
--- src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java	30 Jan 2002 15:44:06
-0000	1.4
+++ src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java	5 Feb 2002 05:15:09
-0000
@@ -366,6 +366,18 @@
     }
 
     /**
+     * Exposes to subclasses the component manager which this container 
+     * uses to manage its child components.
+     *
+     * @return the child component manager
+     */
+    protected final ComponentManager getComponentManager() {
+        m_validator.checkActive();
+
+        return m_childManager;
+    }
+
+    /**
      * This is the Default ComponentManager for the Container.  It provides
      * a very simple abstraction, and makes it easy for the Container to manage
      * the references.

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message