You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Ryan Shaw <ry...@silveregg.co.jp> on 2002/02/05 06:11:19 UTC
[PATCH] src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [PATCH] src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java
Posted by Leif Mortenson <le...@silveregg.co.jp>.
Submitted. Thanks.
Ryan Shaw wrote:
>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: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>