CVS: jcontainer/dna/site/xdocs/metadata model.xml,1.8,1.9
Peter Donald <pdonald-yCVjj/[email protected]>
| Newsgroups | gmane.comp.java.jcontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jcontainer/jcontainer/dna/site/xdocs/metadata
In directory hogshead.codehaus.org:/tmp/cvs-serv26277/site/xdocs/metadata
Modified Files:
model.xml
Log Message:
Remove Parameters and Parameterizable from framework with the aim of simplifying usage patterns
Index: model.xml
===================================================================
RCS file: /cvsroot/jcontainer/jcontainer/dna/site/xdocs/metadata/model.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- model.xml 11 Oct 2003 09:31:07 -0000 1.8
+++ model.xml 29 Oct 2003 22:36:21 -0000 1.9
@@ -46,12 +46,6 @@
data that they are provided.
</li>
<li>
- <a href="#dna.parameters">dna.parameters</a>: The
- object must declare location of the parameters schema
- (if any) that can be used to validate any parameters
- data that they are provided.
- </li>
- <li>
<a href="#dna.dependency">dna.dependency</a>: The
object must declare the services that it expects to find
in the ResourceLocator.
@@ -285,57 +279,6 @@
*/
public void configure( Configuration config )
throws ConfigurationException
-{
- ...
-}
- ]]></source>
- </subsection>
- <subsection name="dna.parameters">
- <p>
- The <code>dna.parameters</code> tag declares the schema
- that can be used to validate the parameters for the
- component. The <code>dna.parameters</code> tag is
- specified as part of the
- <a href="../apidocs/org/jcontainer/dna/Parameterizable.html#parameterize(org.jcontainer.dna.Parameters)">
- Parameterizable.parameterize(Parameters)</a> method
- JavaDocs and has the following parameters.
- </p>
- <table>
- <tr>
- <th>Name</th>
- <th>Default Value</th>
- <th>Description</th>
- <th>Optional</th>
- </tr>
- <tr>
- <td>location</td>
- <td><classname>-schema.xml</td>
- <td>
- The location of the parameters schema file
- relative to the .class file.
- </td>
- <td>true</td>
- </tr>
- <tr>
- <td>type</td>
- <td>""</td>
- <td>
- The type of the schema file. If not specified then
- the underlying validator will attempt to guess the
- schema type.
- </td>
- <td>true</td>
- </tr>
- </table>
- <p>
- Example:
- </p>
- <source><![CDATA[
-/**
- * @dna.parameters location="MyComponentParametersSchema.xml"
- */
-public void parameterize( Parameters parameters )
- throws ParametersException
{
...
}