mcconnell 2003/12/12 05:47:04
Modified: repository/site/xdocs/about reference.xml spi.xml
Log:
Update documentation (correction to factory argument references).
Revision Changes Path
1.3 +1 -4 avalon/repository/site/xdocs/about/reference.xml
Index: reference.xml
===================================================================
RCS file: /home/cvs/avalon/repository/site/xdocs/about/reference.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- reference.xml 11 Dec 2003 12:24:23 -0000 1.2
+++ reference.xml 12 Dec 2003 13:47:04 -0000 1.3
@@ -85,15 +85,13 @@
<a href="bootstrap.html">bootstrap properties</a>.
</p>
<table>
- <tr><th>Property</th><th>Default Value</th><th>Description</th></tr>
+ <tr><th>Property</th><th>Description</th></tr>
<tr>
<td>${avalon.repository.proxy.host}</td>
- <td></td>
<td>The proxy host name.</td>
</tr>
<tr>
<td>${avalon.repository.proxy.port}</td>
- <td></td>
<td>The proxy port.</td>
</tr>
<tr>
@@ -103,7 +101,6 @@
</tr>
<tr>
<td>${avalon.repository.proxy.password}</td>
- <td></td>
<td>The proxy password.</td>
</tr>
</table>
1.3 +22 -23 avalon/repository/site/xdocs/about/spi.xml
Index: spi.xml
===================================================================
RCS file: /home/cvs/avalon/repository/site/xdocs/about/spi.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- spi.xml 11 Dec 2003 12:24:23 -0000 1.2
+++ spi.xml 12 Dec 2003 13:47:04 -0000 1.3
@@ -76,61 +76,60 @@
<section name="Plugin Facilities">
<subsection name="Factory Pattern">
<p>
- A plugin facility is requred to implement on of the following
- constructor patterns.
+ A plugin facility is requred to impliment one of the following
+ ranked constructor patterns.
</p>
<table>
<tr><th>Constructor</th><th>Description</th></tr>
<tr>
- <td>
-<source>
-public MyFactory(
- InitialContext context,
- ClassLoader loader )
-{
-}</source></td>
+ <td>Context and ClassLoader</td>
<td>
Creation of a new factory using a supplied initial
repository context and a classloader established by
the bootstrap facility. The classloader will be
fully populated in accordance with the metadata
published by the factory.
- </td>
- </tr>
- <tr>
- <td>
<source>
public MyFactory(
- InitialContext context )
+ InitialContext context,
+ ClassLoader classloader )
{
-}</source></td>
- <td>
- Creation of a new factory using a supplied initial
- repository context.
+}</source>
</td>
</tr>
<tr>
+ <td>Context</td>
<td>
+ Creation of a new factory using a supplied initial
+ repository context.
<source>
public MyFactory(
InitialContext context )
{
-}</source></td>
+}</source>
+ </td>
+ </tr>
+ <tr>
+ <td>ClassLoader</td>
<td>
Creation of a new factory using a supplied classloader
established by the bootstrap facility. The classloader
will be fully populated in accordance with the metadata
published by the factory.
- </td>
+<source>
+public MyFactory(
+ ClassLoader classloader )
+{
+}</source></td>
</tr>
<tr>
+ <td>Null Constructor</td>
<td>
+ Creation of a new factory.
<source>
public MyFactory()
{
-}</source></td>
- <td>
- Creation of a new factory.
+}</source>
</td>
</tr>
</table>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]