mcconnell 02/03/03 08:45:15
Modified: src/scratchpad/org/apache/avalon/excalibur/service
package.html
Log:
no message
Revision Changes Path
1.2 +33 -6
jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/service/package.html
Index: package.html
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/service/package.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- package.html 3 Mar 2002 15:51:12 -0000 1.1
+++ package.html 3 Mar 2002 16:45:15 -0000 1.2
@@ -6,15 +6,42 @@
<tr><td width="20%"><b>Feature</b></td>
<td><b>Description</b></td></tr>
-<tr><td width="20%" valign="top">Service Composition</td>
+<tr><td valign="top">Service Composition</td>
<td>Handles automated composition of services based on declared component
dependencies.</td></tr>
-<tr><td>Default Configurations</td>
+<tr><td valign="top">Default Configurations</td>
<td>Provides support for configuration using component default
configurations together
with supplied configuration information using the CascadingConfiguration
model.</td></tr>
-<tr><td>Mixed execution modes</td>
+<tr><td valign="top">Mixed execution modes</td>
<td>Supports execution from the command line (main method), as a jar file,
as an Ant task,
-and as an embedded component.</td></tr>
+and as an embedded component.
+ <p><strong>java -jar form</strong></p>
+ <p>Execution using java -jar pattern requires the presence
+ of the following files under the same directory:</p>
+ <ul>
+ <li><code>merlin.jar</code>
+ <li><code>avalon-framework.jar</code>
+ <li><code>logkit.jar</code>
+ </ul>
+ <p>An example command line is shown below:</p>
+ <pre>
+ $ java -jar <strong>merlin.jar</strong> <supporting-jar-files>
+ -target <class-name>
+ </pre>
+ <p><strong>java -classpath form</strong></p>
+ <p>Execution using java -classpath pattern requires the inclusions
+ of the pipeline, framework and logkit jar files in the classpath
+ statement.</p>
+ <p>An example command line is shown below:</p>
+ <pre>
+ $ java -classpath
<strong>merlin.jar;avalon-framework.jar;logkit.jar</strong>
+ org.apache.avalon.excalibur.service.ServiceLoader
+ <supporting-jar-files> -target <class-name>
+ </pre>
+ </ul>
+
+</td></tr>
</table>
+
<h3>Component Creation</h3>
@@ -46,8 +73,8 @@
<p>For each component declared in a manifest, the implementation establishes
the available services
and dependencies based on information contained in an <code>.xinfo</code>
file. Given a component
-implementation class
<strong><code>org/apache/DirectoryBlock.class</code></strong> the
<code>Pipeline</code> processor
-will attempt to locate a
<strong><code>org/apache/DirectoryBlock.xinfo</code></strong> resource in the
jar file.</P>
+implementation class
<strong><code>org/apache/DirectoryBlock.class</code></strong> the
<code>Pipeline</code> processor will attempt to locate a
<strong><code>org/apache/DirectoryBlock.xinfo</code></strong>
+resource in the jar file.</P>
<pre>
<?xml version="1.0"?>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>