notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1950 - trunk/central/site/src/docs/station/plan
- Date: Fri, 6 Apr 2007 19:21:09 +0200
Author: mcconnell
Date: 2007-04-06 19:21:07 +0200 (Fri, 06 Apr 2007)
New Revision: 1950
Modified:
trunk/central/site/src/docs/station/plan/index.xml
trunk/central/site/src/docs/station/plan/navigation.xml
trunk/central/site/src/docs/station/plan/plan.xml
Log:
Modified: trunk/central/site/src/docs/station/plan/index.xml
===================================================================
--- trunk/central/site/src/docs/station/plan/index.xml 2007-04-06 16:53:12
UTC (rev 1949)
+++ trunk/central/site/src/docs/station/plan/index.xml 2007-04-06 17:21:07
UTC (rev 1950)
@@ -15,12 +15,18 @@
A deployment plan is an XML document referenced as an artificat that
defines the configuration of a station instance. The plan datatype
declares a root <a href="plan.html"><tt><plan></tt></a> element
- which contains zero or more <a
href="entry.html"><tt><entry></tt></a>
- elements where each entry associates a key with a codebase uri.
- A plan is referenced as an artifact using the <a
href="../cli/index.html">
- station</a> command line tool.
+ which contains zero or more appliance defintions. A plan is referenced
+ as an artifact using the <a href="../cli/index.html"> station</a>
+ command line tool.
</p>
+
+ <subsection name="Namespace">
+ <pre>dpml:station</pre>
+
+ </subsection>
+
+
<subsection name="Executing a Plan">
<p>
@@ -37,20 +43,33 @@
<section name="Examples">
<p>
- The following example plan includes three deployment entries. The
first two entries
- reference <a href="../appliance/index.html">appliance</a> datatypes
which trigger the
- establishment of the respective applications in their own JVMs. The
third entry is a
- <a href="../../metro/parts/index.html">part</a> datatype to be loaded
into the current
- virtual machine.
+ The following example plan includes three deployment entries. The
first entry includes
+ an externally defined appliance into the plan defintion. The second
entry is an appliance
+ defintion deriectly included within the plan defintition. Both of
these example will result
+ in the establioshment of a new jvm using the supplied process criteria
and codebase. The
+ third entry includes an part defintion (by reference) into the current
jvm.
</p>
<source><plan xmlns="dpml:station" name="demo" title="Plan Demo">
- <entry key="foo" uri="link:appliance:dpml/metro/demo-foo"/>
- <entry key="bar" uri="link:appliance:dpml/metro/demo-bar"/>
- <entry key="toto"
uri="link:part:dpml/metro/dpml-metro-sample?message=Hello%20World&port=1024"/>
+ <include key="foo" uri="link:appliance:dpml/metro/demo-foo"/>
+
+ <appliance key="bar">
+ <info name="bar"/>
+ <process startup="0" shutdown="0">
+ <environment>
+ <variable name="FOO" value="BAR"/>
+ </environment>
+ <properties>
+ <property name="foo" value="bar"/>
+ </properties>
+ </process>
+ <codebase
uri="link:part:dpml/metro/dpml-metro-sample?message=Bar"/>
+ </appliance>
+
+ <include key="toto"
uri="link:part:dpml/metro/dpml-metro-sample?message=Hello%20World&port=1024"/>
-</plan>
+</plan>
</source>
</section>
Modified: trunk/central/site/src/docs/station/plan/navigation.xml
===================================================================
--- trunk/central/site/src/docs/station/plan/navigation.xml 2007-04-06
16:53:12 UTC (rev 1949)
+++ trunk/central/site/src/docs/station/plan/navigation.xml 2007-04-06
17:21:07 UTC (rev 1950)
@@ -26,7 +26,8 @@
<menu>
<item name="Plan" href="plan.html"/>
- <item name="Entry" href="entry.html"/>
+ <item name="Appliance" href="appliance/index.html"/>
+ <item name="Include" href="include.html"/>
</menu>
</body>
Modified: trunk/central/site/src/docs/station/plan/plan.xml
===================================================================
--- trunk/central/site/src/docs/station/plan/plan.xml 2007-04-06 16:53:12
UTC (rev 1949)
+++ trunk/central/site/src/docs/station/plan/plan.xml 2007-04-06 17:21:07
UTC (rev 1950)
@@ -18,7 +18,7 @@
</p>
</subsection>
-
+
<subsection name="Attributes">
<table>
<tr>
@@ -37,12 +37,19 @@
<table>
<tr>
- <td><tt><a href="entry.html">entry</a></tt></td>
+ <td><tt><a href="appliance/index.html">appliance</a></tt></td>
<td>
- Declaration of a deployment entry. Zero or more entry elements
- may be declared. Entries will be deployed sequentially.
+ Declaration of an embedded jvm deployment screnario.
</td>
</tr>
+ <tr>
+ <td><tt><a href="include.html">include</a></tt></td>
+ <td>
+ Declaration of a deployment entry by reference. Zero or more
include elements
+ may be declared. Include entries may reference stand-alone
appliance or part
+ datatypes.
+ </td>
+ </tr>
</table>
</subsection>
- r1950 - trunk/central/site/src/docs/station/plan, mcconnell at BerliOS, 04/06/2007
Archive powered by MHonArc 2.6.24.