[CVS jcontainer] Docs cleanup. Removed out-of-date references.
mauro-yCVjj/[email protected] Sat, 28 Feb 2004 13:46:08 -0600
| Newsgroups | gmane.comp.java.jcontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>jcontainer/loom/site/xdocs</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt>guide/mx/<a href="#file1">structure.xml</a></tt></td><td align="right" id="added">+3</td><td align="right" id="removed">-3</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/structure.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/structure.xml.diff?r1=1.4&r2=1.5">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/structure.xml?rev=1.5&content-type=text/vnd.viewcvs-markup">1.5</a></td></tr>
<tr class="alt"><td><tt> /<a href="#file2">doclet-tags.xml</a></tt></td><td align="right" id="added">+1</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/doclet-tags.xml?rev=1.5&content-type=text/vnd.viewcvs-markup">1.5</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/doclet-tags.xml.diff?r1=1.5&r2=1.6">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/doclet-tags.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a></td></tr>
<tr><td><tt>guide/<a href="#file3">architecture.xml</a></tt></td><td align="right" id="added">+25</td><td align="right" id="removed">-42</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/architecture.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/architecture.xml.diff?r1=1.6&r2=1.7">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/architecture.xml?rev=1.7&content-type=text/vnd.viewcvs-markup">1.7</a></td></tr>
<tr class="alt"><td><tt> /<a href="#file4">administrator.xml</a></tt></td><td align="right" id="added">+3</td><td align="right" id="removed">-3</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/administrator.xml?rev=1.8&content-type=text/vnd.viewcvs-markup">1.8</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/administrator.xml.diff?r1=1.8&r2=1.9">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/administrator.xml?rev=1.9&content-type=text/vnd.viewcvs-markup">1.9</a></td></tr>
<tr><td><tt> /<a href="#file5"><span id="removed">punit.xml</span></a></tt></td><td></td><td align="right" id="removed">-180</td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/punit.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a> removed</td></tr>
<tr class="alt"><td><tt>images/<span id="removed">loom-app-blockjars.jpg</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/images/loom-app-blockjars.jpg?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">loom-app-block.jpg</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/images/loom-app-block.jpg?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">loom-app-ftpserver.jpg</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/images/loom-app-ftpserver.jpg?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt><a href="#file9">getting-started.xml</a></tt></td><td align="right" id="added">+1</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/getting-started.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/getting-started.xml.diff?r1=1.6&r2=1.7">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/getting-started.xml?rev=1.7&content-type=text/vnd.viewcvs-markup">1.7</a></td></tr>
<tr class="alt"><td><tt><a href="#file10">applications.xml</a></tt></td><td></td><td align="right" id="removed">-12</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/applications.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/applications.xml.diff?r1=1.4&r2=1.5">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/applications.xml?rev=1.5&content-type=text/vnd.viewcvs-markup">1.5</a></td></tr>
<tr><td><tt><a href="#file11">navigation.xml</a></tt></td><td></td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/navigation.xml?rev=1.15&content-type=text/vnd.viewcvs-markup">1.15</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/navigation.xml.diff?r1=1.15&r2=1.16">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/navigation.xml?rev=1.16&content-type=text/vnd.viewcvs-markup">1.16</a></td></tr>
<tr class="alt"><td><tt>reference/<a href="#file12">environment-xml-specification.xml</a></tt></td><td align="right" id="added">+59</td><td align="right" id="removed">-61</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/environment-xml-specification.xml?rev=1.3&content-type=text/vnd.viewcvs-markup">1.3</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/environment-xml-specification.xml.diff?r1=1.3&r2=1.4">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/environment-xml-specification.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a></td></tr>
<tr><td><tt> /<a href="#file13">config-xml-specification.xml</a></tt></td><td align="right" id="added">+10</td><td align="right" id="removed">-11</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/config-xml-specification.xml?rev=1.3&content-type=text/vnd.viewcvs-markup">1.3</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/config-xml-specification.xml.diff?r1=1.3&r2=1.4">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/config-xml-specification.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a></td></tr>
<tr class="alt"><td><tt> /<a href="#file14">assembly-xml-specification.xml</a></tt></td><td align="right" id="added">+14</td><td align="right" id="removed">-14</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/assembly-xml-specification.xml?rev=1.5&content-type=text/vnd.viewcvs-markup">1.5</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/assembly-xml-specification.xml.diff?r1=1.5&r2=1.6">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/assembly-xml-specification.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a></td></tr>
<tr><td></td><td align="right" id="added">+116</td><td align="right" id="removed">-330</td><td></td></tr>
</table>
<small id="info">4 removed + 10 modified, total 14 files</small><br />
<pre class="comment">
Docs cleanup. Removed out-of-date references.
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide">guide</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx">mx</a><br /></span>
<div class="fileheader"><big><b>structure.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/structure.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/structure.xml.diff?r1=1.4&r2=1.5">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/structure.xml?rev=1.5&content-type=text/vnd.viewcvs-markup">1.5</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.4 -r1.5
--- structure.xml 3 Dec 2003 10:44:51 -0000 1.4
+++ structure.xml 28 Feb 2004 19:46:07 -0000 1.5
@@ -34,7 +34,7 @@
</small></pre><pre class="diff" id="context"> organizing element for management data, and is the bridge between
the management code embedded in Loom and the implementation of the
management component. It is represented by the
</pre><pre class="diff" id="removed">- <code>org.<span id="removedchars">apache.avalon.phoenix</span>.interfaces.SystemManager</code>
</pre><pre class="diff" id="added">+ <code>org.<span id="addedchars">jcontainer.loom</span>.interfaces.SystemManager</code>
</pre><pre class="diff" id="context"> interface.
</p>
</subsection>
</pre><pre class="diff"><small id="info">@@ -65,12 +65,12 @@
</small></pre><pre class="diff" id="context"> | +-- etc.
|
+--Applications
</pre><pre class="diff" id="removed">- +--Hello World
</pre><pre class="diff" id="added">+ +--<span id="addedchars"> </span>Hello World
</pre><pre class="diff" id="context"> | +-- Blocks
| +-- Block 1
| +-- Block 2
|
</pre><pre class="diff" id="removed">- +-- Ftp Server
</pre><pre class="diff" id="added">+ +-- Another App
</pre><pre class="diff" id="context"> +-- Blocks
+-- Block 1
+-- Block 2
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide">guide</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx">mx</a><br /></span>
<div class="fileheader"><big><b>doclet-tags.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/doclet-tags.xml?rev=1.5&content-type=text/vnd.viewcvs-markup">1.5</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/doclet-tags.xml.diff?r1=1.5&r2=1.6">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/mx/doclet-tags.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.5 -r1.6
--- doclet-tags.xml 29 Nov 2003 13:50:51 -0000 1.5
+++ doclet-tags.xml 28 Feb 2004 19:46:07 -0000 1.6
@@ -292,7 +292,7 @@
</small></pre><pre class="diff" id="context"> is the location of the source files.
</p>
<p>
</pre><pre class="diff" id="removed">- The qdox <span id="removedchars">jar and phoenix-client.jar</span> need to be in the project.class.path.
</pre><pre class="diff" id="added">+ The qdox <span id="addedchars">and phoenix-client jars</span> need to be in the project.class.path.
</pre><pre class="diff" id="context"> </p>
</section>
</body>
</pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide">guide</a><br /></span>
<div class="fileheader"><big><b>architecture.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/architecture.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/architecture.xml.diff?r1=1.6&r2=1.7">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/architecture.xml?rev=1.7&content-type=text/vnd.viewcvs-markup">1.7</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.6 -r1.7
--- architecture.xml 3 Dec 2003 10:44:50 -0000 1.6
+++ architecture.xml 28 Feb 2004 19:46:07 -0000 1.7
@@ -19,54 +19,37 @@
</small></pre><pre class="diff" id="context"> </p>
<img src="../images/loom-layers.png" alt="Loom Layers"/>
<p>
</pre><pre class="diff" id="removed">- Shown above are three hosted server applications. A mail server that would implement
- multiple listeners for incoming and outgoing services (POP3, SMTP, IMAP etc). Outlook,
- Eudora and other mail clients would be able to connect to the server. As it happens,
- Apache has a project in progress called "James" that provides these services and Newsgroups.
- Also shown is a Web server. That would respond to HTTP/HTTPS requests from similar standards
- based clients and be able to host it's own applications (web-apps and virtual websites). Lastly,
- and non-existant currently at Apache is an EJB Server. This would be able to host it's own
- bean applications and might use the web server for it's HTTP needs.
</pre><pre class="diff" id="added">+ Shown above are three hosted server applications.
+ <ul>
+ <li>A Mail server - such as Apache James - that would implement multiple listeners for incoming and outgoing services (POP3, SMTP, IMAP etc). Outlook,
+ Eudora and other mail clients would be able to connect to the server.</li>
+ <li>A Web server - such as Tomcat or Jetty - that would respond to HTTP/HTTPS requests from similar standards
+ based clients and be able to host it's own applications (web-apps and virtual websites).</li>
+ <li>A Beans server - in which we can include EJB servers - which communicate to remote clients
+ via RMI/AltRMI. </li>
+ </ul>
</pre><pre class="diff" id="context"> </p>
</section>
<section name="Packaging of a Server Application">
<p>
</pre><pre class="diff" id="removed">- Loom application are distributed in a single archive.
</pre><pre class="diff" id="added">+ Loom applications are distributed in a single Server Archive (SAR) file,
+ which is a jar file with a special SAR-INF directory, containing the libraries
+ and the XML configuration files. The key features of a sar file are:
+ <ul>
+ <li> The server application is entirely contained within one sar file.
+ </li>
+ <li> Blocks may be packaged in one or more jar files.
+ </li>
+ <li> The jar files - along with any other libraries upon which the application
+ depends - are placed within the SAR-INF/lib directory.
+ </li>
+ <li>The assembly.xml, config.xml and environment.xml configuration files
+ contained in the root SAR-INF directory.
+ </li>
+ </ul>
</pre><pre class="diff" id="context"> </p>
</pre><pre class="diff" id="removed">- <subsection name="Packaging in terms of blocks">
- <p>
- Loom hosts server applications made up of blocks. The blocks may depend on libraries
- to function correctly. The blocks are tied together with Assembly instructions and Configured
- externally.
- </p>
- <p>
- <strong>Loom application in block view</strong>
- </p>
- <img src="../images/loom-app-block.jpg" alt="Loom App Block"/>
- </subsection>
- <subsection name="Packaging in terms of block jar files">
- <p>
- The server application is entirely contained within one "sar" file. Sar is "Server ARchive".
- Each block is a jar file. The dependant libraries are regular jars (placed
- within a directory "SAR-INF/lib" insde the sar file). The Assembly and configuration instructions
- are in xml form and contained within a "SAR-INF" directory inside the sar file.
- </p>
- <img src="../images/loom-app-blockjars.jpg" alt="Loom application in block jar view"/>
- </subsection>
- <subsection name="FtpServer as a Loom application">
- <p>
- FtpServer (part of the Avalon/Cornerstone project) is distributed in sar form. Here is a
- view of it's blocks. It has no third party jars that it depends on.
- </p>
- <p>
- <strong>FtpServer, a real Loom application</strong>
- </p>
- <img src="../images/loom-app-ftpserver.jpg" alt="Loom App FtpServer"/>
- </subsection>
</pre><pre class="diff" id="context"> <p>
</pre><pre class="diff" id="removed">- Notes - Loom does not limit the number of blocks that it allows in a sar file. We have taksdefs for Apache's Ant
- tool for making sar files. See the "Block Developers Guide" (left
- margin of this page) for more what/how/why.
</pre><pre class="diff" id="added">+ Loom provides an Ant task and a Maven plugin for creating sar files.
</pre><pre class="diff" id="context"> </p>
</section>
</body>
</pre></div>
<hr /><a name="file4" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide">guide</a><br /></span>
<div class="fileheader"><big><b>administrator.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/administrator.xml?rev=1.8&content-type=text/vnd.viewcvs-markup">1.8</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/administrator.xml.diff?r1=1.8&r2=1.9">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/administrator.xml?rev=1.9&content-type=text/vnd.viewcvs-markup">1.9</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.8 -r1.9
--- administrator.xml 3 Dec 2003 10:44:50 -0000 1.8
+++ administrator.xml 28 Feb 2004 19:46:07 -0000 1.9
@@ -174,15 +174,15 @@
</small></pre><pre class="diff" id="context"> Ensure that the MX4J RMI Adaptor is enabled in kernel.xml
</p>
<source>
</pre><pre class="diff" id="removed">- &lt;component role="org.apache.avalon.phoenix.interfaces.SystemManager"
- class="org.apache.avalon.phoenix.components.manager.MX4JSystemManager"
</pre><pre class="diff" id="added">+ &lt;component role="org.jcontainer.loom.interfaces.SystemManager"
+ class="org.jcontainer.loom.components.manager.MX4JSystemManager"
</pre><pre class="diff" id="context"> logger="manager" >
&lt;enable-rmi-adaptor>true&lt;/enable-rmi-adaptor>
[other enabled adaptors]
&lt;/component>
</source>
<p>
</pre><pre class="diff" id="removed">- Place mx4j-jmx.jar, mx4j-tools.jar, and jndi.properties<span id="removedchars"> (TODO: include it)</span>
</pre><pre class="diff" id="added">+ Place mx4j-jmx.jar, mx4j-tools.jar, and jndi.properties
</pre><pre class="diff" id="context"> in your classpath. Suppose you wanted to shut down Loom. Create the
following class:
</p>
</pre></div>
<hr /><a name="file5" /><div class="file">
<span class="pathname" id="removed"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide">guide</a><br /></span>
<div class="fileheader" id="removed"><big><b>punit.xml</b></big> <small id="info">removed after <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/guide/punit.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a></small></div>
<pre class="diff"><small id="info">diff -N punit.xml
--- punit.xml 3 Dec 2003 10:44:50 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,180 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?xml version="1.0" encoding="iso-8859-1"?>
-<document>
- <properties>
- <title>Guide - PUnit</title>
- <author email="Paul_Hammant-/[email protected]">Paul Hammant</author>
- </properties>
- <body>
- <section name="Introduction">
- <p>
- Loom has a component/lifecycle aware unit test framework called PUnit. It has no requirements on
- external meta information. As such it could be used for unit testing for a wide range of Avalon-Framework
- enabled components. Having said that, usage requires some knowledge of multi component applications and
- the order of component lifecycling. PUnit builds on JUnit. You should have testing experience of
- <a href="http://www.junit.org">JUnit</a> before using PUnit.
- </p>
- </section>
- <section name="Example Usage">
- <p>
- There is a unit test framework for Loom called PUnit. It is used for pseudo in-container testing of Loom
- components. The main class PUnitTestCase should be extended by the developer, some manual setup done, then
- normal assertXXX() testing.
- </p>
- <p>
- <strong>Test component (from Loom's own PUnit TestCase)</strong>
- </p>
- <source>
-public class TestBlock
- implements Serviceable, Configurable, Initializable, Contextualizable, LogEnabled
-{
-
- public ServiceManager m_serviceManager;
- public boolean m_initialized;
- public Context m_context;
- public Logger m_logger;
- public Configuration m_configuration;
-
- public void service( final ServiceManager serviceManager ) throws ServiceException
- {
- m_logger.info("service");
- m_serviceManager = serviceManager;
- }
-
- public void initialize() throws Exception
- {
- m_logger.warn("initialize");
- m_initialized = true;
- }
-
- public void contextualize(Context context) throws ContextException
- {
- m_logger.error("contextualize");
- m_context = context;
- }
-
- public void enableLogging(Logger logger)
- {
- m_logger = logger;
- }
-
- public void configure(Configuration configuration) throws ConfigurationException
- {
- m_logger.fatalError("configure");
- m_configuration = configuration;
- }
-
-
-}
- </source>
- <p>
- <strong>Example TestCase (from Loom's own PUnit TestCase)</strong>
- </p>
- <source>
-public class PUnitTestCaseTestCase extends PUnitTestCase
-{
-
- DefaultConfigurationBuilder m_defaultConfigurationBuilder = new DefaultConfigurationBuilder();
-
-
- public PUnitTestCaseTestCase(String name)
- {
- super(name);
- }
-
- public void testBasicBlock() throws Exception
- {
- TestBlock block = new TestBlock();
- Configuration configuration = m_defaultConfigurationBuilder.build(
- new InputSource(new StringReader("&lt;hi>Hi&lt;/hi>")));
- addBlock("bl","block", block, configuration);
- startup();
- // check lifecycle run thru
- assertNotNull("Configuration null", block.m_configuration);
- assertNotNull("Context null", block.m_context);
- assertNotNull("Logger null", block.m_logger);
- assertNotNull("ServiceManager null", block.m_serviceManager);
- assertTrue("Not Initialized", block.m_initialized);
- // check lifecycle events logged
- assertTrue("Service Not logged", super.logHasEntry("I:service"));
- assertTrue("Initialize Not logged", super.logHasEntry("W:initialize"));
- assertTrue("Contextualize Not logged", super.logHasEntry("E:contextualize"));
- assertTrue("Configure Not logged", super.logHasEntry("F:configure"));
- shutdown();
- }
-
-}
- </source>
- <p>
- What is shown here is a single block being manually instantiated, and registered with PUnit
- (addBlock). Configuration rather than being from a file, is handed in from this source
- via DefaultConfigurationBuilder (see its other methods for more flexibility). The method
- startup() is causing the components (one only in this case) to be started. After the normal
- asserts have been invoked, the shutdown() is appropriate to tidy up in time for the next
- test. If you have multiple tests to do, it might be best to do all that is setup and
- tearDown methods.
- </p>
- <p>
- It is important for developers to know the order of dependancy of their components, and in
- fact, the dependency needs of all components used in the test. This is normally the role
- of the assembler rather than the developer, but there is no way that unit testing can
- occur without all component needs being satisfied. Of course the developer can use mock
- implementations of the required services. Lastly, the order of dependency is important.
- Loom itself spends some effort determining which components are not needed by anything
- and cycles them first during startup. The last to be cycled are those that depend on the
- others.
- </p>
- </section>
- <section name="To Use">
- <p>
- When setting up a classpath, excalibur's containerkit and il8n jars are dependencies for Punit...
- </p>
- <source>
- &lt;path id="test.class.path">
- &lt;pathelement location="build/testclasses"/>
- &lt;path refid="compile.classpath"/>
- &lt;pathelement location="lib/phoenix-punit.jar"/>
- &lt;pathelement location="lib/excalibur-containerkit-1.0.jar"/>
- &lt;pathelement location="lib/excalibur-i18n-1.0.jar"/>
- &lt;/path>
- </source>
- <p>
- As with most testing frameworks, compilation of test classes is required before tests can be invoked...
- </p>
- <source>
- &lt;target name="test" depends="compile" description="compiles and runs unit tests">
-
- &lt;mkdir dir="build/testclasses"/>
-
- &lt;javac
- destdir="build/testclasses"
- debug="${build.debug}"
- optimize="${build.optimize}"
- deprecation="${build.deprecation}">
- &lt;classpath refid="test.class.path" />
- &lt;src path="src/test" />
- &lt;/javac>
-
- &lt;mkdir dir="build/tests"/>
-
- &lt;junit fork="true"
- haltonfailure="${junit.failonerror}"
- printsummary="yes"
- dir="build/tests">
- &lt;classpath refid="test.class.path"/>
-
- &lt;formatter type="plain"/>
-
- &lt;batchtest todir="build/tests">
- &lt;fileset dir="build/testclasses">
- &lt;include name="**/*TestCase.class"/>
- &lt;exclude name="**/Abstract*"/>
- &lt;/fileset>
- &lt;/batchtest>
- &lt;/junit>
-
- &lt;/target>
- </source>
- </section>
-
- </body>
-</document>
</pre></div>
<hr /><a name="file9" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a><br /></span>
<div class="fileheader"><big><b>getting-started.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/getting-started.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/getting-started.xml.diff?r1=1.6&r2=1.7">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/getting-started.xml?rev=1.7&content-type=text/vnd.viewcvs-markup">1.7</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.6 -r1.7
--- getting-started.xml 3 Dec 2003 10:44:49 -0000 1.6
+++ getting-started.xml 28 Feb 2004 19:46:07 -0000 1.7
@@ -6,7 +6,7 @@
</small></pre><pre class="diff" id="context"> <author email="jcontainer-interest-yCVjj/[email protected] ">Loom Documentation Team</author>
<author email="[email protected]">Leo Simons</author>
<author email="Paul_Hammant-/[email protected]">Paul Hammant</author>
</pre><pre class="diff" id="removed">- <author email="mauro.talevi at aquilonia.org">Mauro Talevi</author>
</pre><pre class="diff" id="added">+ <author>Mauro Talevi</author>
</pre><pre class="diff" id="context"> </properties>
<body>
</pre></div>
<hr /><a name="file10" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a><br /></span>
<div class="fileheader"><big><b>applications.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/applications.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/applications.xml.diff?r1=1.4&r2=1.5">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/applications.xml?rev=1.5&content-type=text/vnd.viewcvs-markup">1.5</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.4 -r1.5
--- applications.xml 31 Jul 2003 20:29:40 -0000 1.4
+++ applications.xml 28 Feb 2004 19:46:07 -0000 1.5
@@ -13,18 +13,6 @@
</small></pre><pre class="diff" id="context"> products that make them capable of being managed from within Loom. While
others are applications are assembled from reusable Blocks.
</p>
</pre><pre class="diff" id="removed">- <p>
- The applications that take the wrapper approach are building on the sucess of
- pre-existing projects on the Web. These could be at Apache or from
- SourceForge, and are not forked efforts. They all do varioations of the same
- thing - namely instantiate the pre-existing project's main bean and expose it
- via a service interface to other phoenix blocks. Some like HypersonicSQL
- present no methods in their service interface, their who interface to the world
- is through it's socket listener and a JDBC library on the client side. All of
- the wrapped products are still launchable via their normal 'main' method in
- standalone mode. These can be said to be dual mode, even if the code for
- phoenix compatability is in our CVS rather than their depot.
- </p>
</pre><pre class="diff" id="context"> </section>
<section name="Application list">
</pre></div>
<hr /><a name="file11" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a><br /></span>
<div class="fileheader"><big><b>navigation.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/navigation.xml?rev=1.15&content-type=text/vnd.viewcvs-markup">1.15</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/navigation.xml.diff?r1=1.15&r2=1.16">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/navigation.xml?rev=1.16&content-type=text/vnd.viewcvs-markup">1.16</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.15 -r1.16
--- navigation.xml 3 Dec 2003 10:44:49 -0000 1.15
+++ navigation.xml 28 Feb 2004 19:46:07 -0000 1.16
@@ -46,8 +46,6 @@
</small></pre><pre class="diff" id="context"> <item href="/guide/mx/structure.html" name="Structure"/>
<item href="/guide/mx/doclet-tags.html" name="Doclet Tags"/>
</item>
</pre><pre class="diff" id="removed">- <item href="/guide/example-configuration.html" name="Example configuration"/>
- <item href="/guide/punit.html" name="PUnit unit testing"/>
</pre><pre class="diff" id="context"> </menu>
<menu name="Specification Reference">
<item href="/reference/config-xml-specification.html" name="config.xml"/>
</pre></div>
<hr /><a name="file12" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference">reference</a><br /></span>
<div class="fileheader"><big><b>environment-xml-specification.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/environment-xml-specification.xml?rev=1.3&content-type=text/vnd.viewcvs-markup">1.3</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/environment-xml-specification.xml.diff?r1=1.3&r2=1.4">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/environment-xml-specification.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.3 -r1.4
--- environment-xml-specification.xml 3 Dec 2003 10:44:51 -0000 1.3
+++ environment-xml-specification.xml 28 Feb 2004 19:46:07 -0000 1.4
@@ -13,50 +13,48 @@
</small></pre><pre class="diff" id="context"> security policy and configure logging settings. A sample
<code>environment.xml</code>
follows. Previously thread pool settings were also configured in this
</pre><pre class="diff" id="removed">- section but this has been deprecated. Note that previously the information stored in
- <code>environment.xml</code> was stored in a file named
- <code>server.xml</code>.
</pre><pre class="diff" id="added">+ section but this has been deprecated.
</pre><pre class="diff" id="context"> </p>
</section>
<section name="Sample environment.xml file">
<source>
</pre><pre class="diff" id="removed">- &lt;?xml version="1.0"?>
</pre><pre class="diff" id="added">+&lt;?xml version="1.0"?>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;environment>
</pre><pre class="diff" id="added">+&lt;environment>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;logs>
- &lt;category name="" target="default" priority="DEBUG" />
- &lt;category name="myAuthorizer" target="myAuthorizer-target"
- priority="DEBUG" />
-
- &lt;log-target name="default"
- location="/logs/default.log" />
- &lt;log-target name="myAuthorizer-target"
- location="/logs/authorizer.log" />
- &lt;/logs>
-
- &lt;policy>
- &lt;keystore name="foo-keystore"
- location="sar:/conf/keystore"
- type="JKS" />
-
- &lt;grant code-base="file:${app.home}${/}some-dir${/}*"
- key-store="foo-keystore" >
- &lt;permission class="java.io.FilePermission"
- target="${/}tmp${/}*"
- action="read,write" />
- &lt;/grant>
-
- &lt;grant signed-by="Bob"
- code-base="sar:/SAR-INF/lib/*"
- key-store="foo-keystore" >
- &lt;permission class="java.io.FilePermission"
- target="${/}tmp${/}*"
- action="read,write" />
- &lt;/grant>
- &lt;/policy>
</pre><pre class="diff" id="added">+ &lt;logs>
+ &lt;category name="" target="default" priority="DEBUG" />
+ &lt;category name="myAuthorizer" target="myAuthorizer-target"
+ priority="DEBUG" />
+
+ &lt;log-target name="default"
+ location="/logs/default.log" />
+ &lt;log-target name="myAuthorizer-target"
+ location="/logs/authorizer.log" />
+ &lt;/logs>
+
+ &lt;policy>
+ &lt;keystore name="foo-keystore"
+ location="sar:/conf/keystore"
+ type="JKS" />
+
+ &lt;grant code-base="file:${app.home}${/}some-dir${/}*"
+ key-store="foo-keystore" >
+ &lt;permission class="java.io.FilePermission"
+ target="${/}tmp${/}*"
+ action="read,write" />
+ &lt;/grant>
+
+ &lt;grant signed-by="Bob"
+ code-base="sar:/SAR-INF/lib/*"
+ key-store="foo-keystore" >
+ &lt;permission class="java.io.FilePermission"
+ target="${/}tmp${/}*"
+ action="read,write" />
+ &lt;/grant>
+ &lt;/policy>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;/environment>
</pre><pre class="diff" id="added">+&lt;/environment>
</pre><pre class="diff" id="context">
</source>
<p>
</pre><pre class="diff"><small id="info">@@ -92,30 +90,30 @@
</small></pre><pre class="diff" id="context"> Below is example configuration.
</p>
<source>
</pre><pre class="diff" id="removed">- &lt;?xml version="1.0"?>
- &lt;environment>
- &lt;logs version="1.1">
- &lt;factories>
- &lt;factory type="file" class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/>
- &lt;/factories>
-
- &lt;categories>
- &lt;category name="" log-level="INFO">
- &lt;log-target id-ref="default"/>
- &lt;/category>
- &lt;/categories>
-
- &lt;targets>
- &lt;file id="default">
- &lt;filename>${app.home}/logs/default-&lt;/filename>
- &lt;append>true&lt;/append>
- &lt;rotation type="unique" pattern="yyyyMMdd" suffix=".log">
- &lt;date>yyyyMMdd&lt;/date>
- &lt;/rotation>
- &lt;/file>
- &lt;/targets>
- &lt;/logs>
- &lt;/environment>
</pre><pre class="diff" id="added">+&lt;?xml version="1.0"?>
+&lt;environment>
+ &lt;logs version="1.1">
+ &lt;factories>
+ &lt;factory type="file" class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/>
+ &lt;/factories>
+
+ &lt;categories>
+ &lt;category name="" log-level="INFO">
+ &lt;log-target id-ref="default"/>
+ &lt;/category>
+ &lt;/categories>
+
+ &lt;targets>
+ &lt;file id="default">
+ &lt;filename>${app.home}/logs/default-&lt;/filename>
+ &lt;append>true&lt;/append>
+ &lt;rotation type="unique" pattern="yyyyMMdd" suffix=".log">
+ &lt;date>yyyyMMdd&lt;/date>
+ &lt;/rotation>
+ &lt;/file>
+ &lt;/targets>
+ &lt;/logs>
+&lt;/environment>
</pre><pre class="diff" id="context"> </source>
</section>
</body>
</pre></div>
<hr /><a name="file13" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference">reference</a><br /></span>
<div class="fileheader"><big><b>config-xml-specification.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/config-xml-specification.xml?rev=1.3&content-type=text/vnd.viewcvs-markup">1.3</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/config-xml-specification.xml.diff?r1=1.3&r2=1.4">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/config-xml-specification.xml?rev=1.4&content-type=text/vnd.viewcvs-markup">1.4</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.3 -r1.4
--- config-xml-specification.xml 3 Dec 2003 10:44:51 -0000 1.3
+++ config-xml-specification.xml 28 Feb 2004 19:46:07 -0000 1.4
@@ -18,21 +18,20 @@
</small></pre><pre class="diff" id="context"> </section>
<section name="Sample config.xml file">
<source>
</pre><pre class="diff" id="removed">- &lt;?xml version="1.0"?>
</pre><pre class="diff" id="added">+ &lt;?xml version="1.0"?>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;config>
</pre><pre class="diff" id="added">+&lt;config>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;myAuthorizer>
- &lt;!-- ...configuration data here... -->
- &lt;/myAuthorizer>
</pre><pre class="diff" id="added">+ &lt;myAuthorizer>
+ &lt;!-- ...configuration data here... -->
+ &lt;/myAuthorizer>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;myBlock>
- &lt;param1>param1-value&lt;/param1>
- &lt;an-integer>2&lt;/an-integer>
- ...
- &lt;/myBlock>
</pre><pre class="diff" id="added">+ &lt;myBlock>
+ &lt;param1>param1-value&lt;/param1>
+ &lt;an-integer>2&lt;/an-integer>
+ &lt;/myBlock>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;/config>
</pre><pre class="diff" id="added">+&lt;/config>
</pre><pre class="diff" id="context">
</source>
</section>
</pre></div>
<hr /><a name="file14" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site">site</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs">xdocs</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference">reference</a><br /></span>
<div class="fileheader"><big><b>assembly-xml-specification.xml</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/assembly-xml-specification.xml?rev=1.5&content-type=text/vnd.viewcvs-markup">1.5</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/assembly-xml-specification.xml.diff?r1=1.5&r2=1.6">-></a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/site/xdocs/reference/assembly-xml-specification.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.5 -r1.6
--- assembly-xml-specification.xml 3 Dec 2003 10:44:51 -0000 1.5
+++ assembly-xml-specification.xml 28 Feb 2004 19:46:07 -0000 1.6
@@ -200,25 +200,25 @@
</small></pre><pre class="diff" id="context">
<source>
</pre><pre class="diff" id="removed">- &lt;?xml version="1.0"?>
</pre><pre class="diff" id="added">+&lt;?xml version="1.0"?>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;assembly>
</pre><pre class="diff" id="added">+&lt;assembly>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;block name="myAuthorizer"
- class="com.biz.cornerstone.blocks.MyAuthorizer">
- &lt;/block>
</pre><pre class="diff" id="added">+ &lt;block name="myAuthorizer"
+ class="com.biz.cornerstone.blocks.MyAuthorizer">
+ &lt;/block>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;block name="myBlock"
- class="com.biz.cornerstone.blocks.MyBlock">
- &lt;provide name="myAuthorizer"
- role="com.biz.cornerstone.services.Authorizer"/>
- &lt;/block>
</pre><pre class="diff" id="added">+ &lt;block name="myBlock"
+ class="com.biz.cornerstone.blocks.MyBlock">
+ &lt;provide name="myAuthorizer"
+ role="com.biz.cornerstone.services.Authorizer"/>
+ &lt;/block>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;listener name="myListener"
- class="com.biz.cornerstone.listeners.MyListener">
- &lt;/listener>
</pre><pre class="diff" id="added">+ &lt;listener name="myListener"
+ class="com.biz.cornerstone.listeners.MyListener">
+ &lt;/listener>
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">- &lt;/assembly>
</pre><pre class="diff" id="added">+&lt;/assembly>
</pre><pre class="diff" id="context"> </source>
</section>
</body>
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.8</small></center>
</body></html>