leif 02/02/04 21:28:48
Modified: src/scratchpad/org/apache/avalon/excalibur/system
AbstractContainer.java
Log:
Patch submitted by Ryan Shaw
Revision Changes Path
1.5 +13 -1
jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java
Index: AbstractContainer.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AbstractContainer.java 30 Jan 2002 15:44:06 -0000 1.4
+++ AbstractContainer.java 5 Feb 2002 05:28:48 -0000 1.5
@@ -36,7 +36,7 @@
* Manager can expose that to the instantiating class.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
- * @version CVS $Revision: 1.4 $ $Date: 2002/01/30 15:44:06 $
+ * @version CVS $Revision: 1.5 $ $Date: 2002/02/05 05:28:48 $
*/
public abstract class AbstractContainer
extends AbstractLogEnabled
@@ -363,6 +363,18 @@
( (ComponentHandler) i.next() ).dispose();
}
}
+ }
+
+ /**
+ * 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;
}
/**
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>