vgritsenko 2002/07/21 15:56:11 Modified: src/documentation/xdocs/developing avalon.xml datasources.xml extending.xml httprequest.xml Log: Composer -> Composable Revision Changes Path 1.2 +3 -3 xml-cocoon2/src/documentation/xdocs/developing/avalon.xml Index: avalon.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/developing/avalon.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- avalon.xml 3 Jan 2002 12:31:02 -0000 1.1 +++ avalon.xml 21 Jul 2002 22:56:11 -0000 1.2 @@ -62,18 +62,18 @@ </s2> <s2 title="Composable"> <p><code>org.apache.avalon.framework.component.Composable</code></p> - <p>A <code>Composer</code> is a class that need to connect to software + <p>A <code>Composable</code> is a class that need to connect to software components using a "role" abstraction, thus not depending on particular implementations but on behavioral interfaces. </p> </s2> <s2 title="Component"> <p><code>org.apache.avalon.framework.component.Component</code></p> <p>This interface identifies classes that can be used as - <code>Components</code> by a <code>Composer</code>. </p> + <code>Components</code> by a <code>Composable</code>. </p> <p>A <code>Component</code> is the basic building block of Avalon. When a class implements this interface, it allows itself to be managed by a <code>ComponentManager</code> and used by an outside element called a - <code>Composer</code>. The <code>Composer</code> must know what type of + <code>Composable</code>. The <code>Composable</code> must know what type of <code>Component</code> it is accessing, so it will re-cast the <code>Component</code> into the type it needs. </p> <p><code>Component</code>s in Cocoon are e.g. those defined in 1.2 +1 -1 xml-cocoon2/src/documentation/xdocs/developing/datasources.xml Index: datasources.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/developing/datasources.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- datasources.xml 3 Jan 2002 12:31:02 -0000 1.1 +++ datasources.xml 21 Jul 2002 22:56:11 -0000 1.2 @@ -132,7 +132,7 @@ <p> No matter how you defined your DataSourceComponent, you access it the same way. Because The DataSourceComponent is a Component, - your class needs to implement the Avalon Composer interface. The + your class needs to implement the Avalon Composable interface. The Avalon Framework will give your class a ComponentManager. At that point, it is up to you how and when you pull the DataSourceComponent out of the ComponentManager. 1.2 +1 -1 xml-cocoon2/src/documentation/xdocs/developing/extending.xml Index: extending.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/developing/extending.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- extending.xml 3 Jan 2002 12:31:02 -0000 1.1 +++ extending.xml 21 Jul 2002 22:56:11 -0000 1.2 @@ -79,7 +79,7 @@ <li> <code>ComposerGenerator</code> - Can be used as base class if you want your <code>Generator</code> to be an <link href="avalon.html">Avalon - Composer</link>.</li> + Composable</link>.</li> <li> <code>ServletGenerator</code> - If you want to generate servlets. This is the base class for the <code>ServerPagesGenerator</code>.</li> 1.6 +3 -3 xml-cocoon2/src/documentation/xdocs/developing/httprequest.xml Index: httprequest.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/developing/httprequest.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- httprequest.xml 30 Jun 2002 23:26:56 -0000 1.5 +++ httprequest.xml 21 Jul 2002 22:56:11 -0000 1.6 @@ -261,7 +261,7 @@ <ol> <li>The <code>Handler</code> creates a <code>File</code> object with the asked URL.</li> - <li>The <code>Manager</code> sets the <code>Composer</code> and the + <li>The <code>Manager</code> sets the <code>Composable</code> and the <code>Configuration</code> of the <code>Handler</code>. (These are <link href="avalon.html">Avalon</link> things).</li> <li>If necessary, the <code>Manager</code> asks the @@ -271,7 +271,7 @@ <ol> <li>The <code>Handler</code> gets the <code>"program-generator"</code> <code>Component</code> from its - <code>Composer</code>.</li> + <code>Composable</code>.</li> <li>The <code>load()</code> method of this <code>ProgramGeneratorImpl</code> is called. </li> <li>The <code>ProgramGeneratorImpl</code> gets the @@ -307,7 +307,7 @@ <s2 title="Cocoon"> <p><code>org.apache.cocoon.Cocoon</code></p> <p>While this sounds to be the most important part of the Cocoon - application, it is not. It is merely a Composer, meaning that it does some + application, it is not. It is merely a Composable, meaning that it does some administrative work and gets other classes to work.</p> </s2> <s2 title="ConfigurationBuilder">
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]