Skip to Content.
Sympa Menu

notify-dpml - r1287 - in trunk/main/central/src/docs/metro/directives: component type type/categories type/parts type/services type/state

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1287 - in trunk/main/central/src/docs/metro/directives: component type type/categories type/parts type/services type/state
  • Date: Tue, 28 Mar 2006 17:56:03 +0200

Author: mcconnell
Date: 2006-03-28 17:56:03 +0200 (Tue, 28 Mar 2006)
New Revision: 1287

Modified:
trunk/main/central/src/docs/metro/directives/component/categories.xml
trunk/main/central/src/docs/metro/directives/component/index.xml
trunk/main/central/src/docs/metro/directives/type/categories/index.xml
trunk/main/central/src/docs/metro/directives/type/index.xml
trunk/main/central/src/docs/metro/directives/type/parts/index.xml
trunk/main/central/src/docs/metro/directives/type/services/index.xml
trunk/main/central/src/docs/metro/directives/type/state/index.xml
Log:
housekeeping

Modified:
trunk/main/central/src/docs/metro/directives/component/categories.xml
===================================================================
--- trunk/main/central/src/docs/metro/directives/component/categories.xml
2006-03-28 15:42:59 UTC (rev 1286)
+++ trunk/main/central/src/docs/metro/directives/component/categories.xml
2006-03-28 15:56:03 UTC (rev 1287)
@@ -51,7 +51,7 @@
with the respective priorities of <tt>WARN</tt> and <tt>ERROR</tt>.
</p>

-<pre><![CDATA[
+<source><![CDATA[
<component xmlns="dpml:metro" dest="target/test/categories.part" test="true"
activation="true"
type="net.dpml.test.categories.CategoriesComponent" collection="hard">
<categories>
@@ -59,7 +59,7 @@
<category name="beta" priority="error"/>
</categories>
<component>
-]]></pre>
+]]></source>

</section>


Modified: trunk/main/central/src/docs/metro/directives/component/index.xml
===================================================================
--- trunk/main/central/src/docs/metro/directives/component/index.xml
2006-03-28 15:42:59 UTC (rev 1286)
+++ trunk/main/central/src/docs/metro/directives/component/index.xml
2006-03-28 15:56:03 UTC (rev 1287)
@@ -15,20 +15,13 @@

</subsection>

- <subsection name="Attributes">
+ <subsection name="Standard Attributes">
<table>
<tr>
<td><tt>class</tt></td>
<td>Set the component type classname (required).</td>
</tr>
<tr>
- <td><tt>key</tt></td>
- <td>Required only when declaring a nested component within a
type.
- The key corresponds to the internal key that uniquely
identifies the
- child component within the scope of the enclosing component
type.
- </td>
- </tr>
- <tr>
<td><tt>name</tt></td>
<td>Optional overriding of the component profile name. If not
supplied
the component profile name will default to the name of the
underlying
@@ -57,6 +50,20 @@

</subsection>

+ <subsection name="Special Attributes">
+
+ <table>
+ <tr>
+ <td><tt>key</tt></td>
+ <td>Required only when declaring a nested component within a
type.
+ The key corresponds to the internal key that uniquely
identifies the
+ child component within the scope of the enclosing component
type.
+ </td>
+ </tr>
+ </table>
+
+ </subsection>
+
<subsection name="Nested Elements">

<table>

Modified:
trunk/main/central/src/docs/metro/directives/type/categories/index.xml
===================================================================
--- trunk/main/central/src/docs/metro/directives/type/categories/index.xml
2006-03-28 15:42:59 UTC (rev 1286)
+++ trunk/main/central/src/docs/metro/directives/type/categories/index.xml
2006-03-28 15:56:03 UTC (rev 1287)
@@ -13,9 +13,24 @@

<subsection name="Description">

- <p>
- </p>
+ </subsection>
+
+ <subsection name="Nested Elements">

+ <table>
+ <tr>
+ <td><tt><a href="category.html">category</a></tt></td>
+ <td>
+ Declaration of zero or more logging categories.</td>
+ </tr>
+ </table>
+
+ </subsection>
+
+ </section>
+
+ <section name="Examples">
+
<source>
<![CDATA[
<?xml version="1.0"?>
@@ -42,21 +57,6 @@
]]>
</source>

- </subsection>
-
- <subsection name="Nested Elements">
-
- <table>
- <tr>
- <td><tt><a href="category.html">category</a></tt></td>
- <td>
- Declaration of zero or more logging categories.</td>
- </tr>
- </table>
-
- </subsection>
-
-
</section>

</body>

Modified: trunk/main/central/src/docs/metro/directives/type/index.xml
===================================================================
--- trunk/main/central/src/docs/metro/directives/type/index.xml 2006-03-28
15:42:59 UTC (rev 1286)
+++ trunk/main/central/src/docs/metro/directives/type/index.xml 2006-03-28
15:56:03 UTC (rev 1287)
@@ -77,7 +77,7 @@

<p>Example of a complex component type definition:</p>

-<pre><![CDATA[
+<source><![CDATA[
<?xml version="1.0"?>

<type xmlns="artifact:xsd:dpml/lang/dpml-type#1.0"
@@ -149,7 +149,7 @@
</parts>

</type>
-]]></pre>
+]]></source>

</section>


Modified: trunk/main/central/src/docs/metro/directives/type/parts/index.xml
===================================================================
--- trunk/main/central/src/docs/metro/directives/type/parts/index.xml
2006-03-28 15:42:59 UTC (rev 1286)
+++ trunk/main/central/src/docs/metro/directives/type/parts/index.xml
2006-03-28 15:56:03 UTC (rev 1287)
@@ -54,13 +54,16 @@
version="0.0.0"
lifestyle="thread"
collection="system"
- threadsafe="unknown"/>
+ threadsafe="unknown"/>
+
<services>
<service class="net.dpml.test.ColorManager" version="1.0.0"/>
- </services>
+ </services>
+
<context>
<entry key="color" class="java.awt.Color" optional="false"/>
- </context>
+ </context>
+
<parts>
<component xmlns="artifact:xsd:dpml/lang/dpml-component#1.0" key="child"
class="net.dpml.test.composite.ChildComponent"
@@ -71,7 +74,8 @@
<entry key="color" class="java.awt.Color" method="BLUE"/>
</context>
</component>
- </parts>
+ </parts>
+
</type>
]]></source>


Modified: trunk/main/central/src/docs/metro/directives/type/services/index.xml
===================================================================
--- trunk/main/central/src/docs/metro/directives/type/services/index.xml
2006-03-28 15:42:59 UTC (rev 1286)
+++ trunk/main/central/src/docs/metro/directives/type/services/index.xml
2006-03-28 15:56:03 UTC (rev 1287)
@@ -37,15 +37,17 @@
</table>

</subsection>
+
+ </section>

- <subsection name="Examples">
+ <section name="Examples">

- <p>
- The following example illustrates a type descriptor that declares
that
- the component implementation exports the service
- <tt>net.dpml.http.BoundedThreadPool</tt> service.</p>
+ <p>
+ The following example illustrates a type descriptor that declares that
+ the component implementation exports the service
+ <tt>net.dpml.http.BoundedThreadPool</tt> service.</p>

-<pre><![CDATA[
+<source><![CDATA[
<?xml version="1.0"?>

<type xmlns="artifact:xsd:dpml/lang/dpml-type#1.0"
@@ -72,10 +74,8 @@
<entry key="idle" class="int" optional="true"/>
</context>

-</type>]]></pre>
+</type>]]></source>

- </subsection>
-
</section>

</body>

Modified: trunk/main/central/src/docs/metro/directives/type/state/index.xml
===================================================================
--- trunk/main/central/src/docs/metro/directives/type/state/index.xml
2006-03-28 15:42:59 UTC (rev 1286)
+++ trunk/main/central/src/docs/metro/directives/type/state/index.xml
2006-03-28 15:56:03 UTC (rev 1287)
@@ -69,7 +69,7 @@

<section name="Example">

-<pre><![CDATA[
+<source><![CDATA[
<c:type class="net.dpml.test.state.ManagedComponent" name="demo"
lifestyle="thread">
<state>
<operation name="ping" method="ping"/>
@@ -94,7 +94,7 @@
</state>
</state>
</c:type>
-]]></pre>
+]]></source>

</section>





  • r1287 - in trunk/main/central/src/docs/metro/directives: component type type/categories type/parts type/services type/state, mcconnell at BerliOS, 03/28/2006

Archive powered by MHonArc 2.6.24.

Top of Page