You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/07/26 19:35:33 UTC
cvs commit: avalon-sandbox/meta/site/xdocs/tools/tags entry.xml
mcconnell 2003/07/26 10:35:33
Modified: meta/site/xdocs/tools/tags entry.xml
Log:
Doc corrections.
Revision Changes Path
1.5 +8 -9 avalon-sandbox/meta/site/xdocs/tools/tags/entry.xml
Index: entry.xml
===================================================================
RCS file: /home/cvs/avalon-sandbox/meta/site/xdocs/tools/tags/entry.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- entry.xml 26 Jul 2003 07:52:53 -0000 1.4
+++ entry.xml 26 Jul 2003 17:35:33 -0000 1.5
@@ -12,7 +12,7 @@
<section name="Javadoc Tags">
<subsection name="Entry Tag">
-<p>The entry tag declares a context entry required by a component. The component is supplied the context entry via a context argument as part of the contextualization lifecycle stage. Context entries my declare a object type or array of object types. If the type is not declared java.lang.String is assumed. Context entries may also be declared as option and/or volatile. The default behaviour is to assume that a context entry is required (not optional) is is not volatile.</p>
+<p>The entry tag declares a context entry required by a component. The component is supplied the context entry via a context argument as part of the contextualization lifecycle stage. Context entries my declare a object type or array of object types. If the type is not declared java.lang.String is assumed. Context entries may also be declared as optional and/or volatile. The default behaviour is to assume that a context entry is required (not optional) is is non-volatile.</p>
</subsection>
<subsection name="Attributes">
@@ -35,7 +35,7 @@
<td><p>type</p></td><td><p>no</p></td>
<td>
<p>The classname of the context entry that the component
- may cast the contry to. If not declared, java.lang.String
+ may cast the component to. If not declared, java.lang.String
is assumed.</p>
</td>
</tr>
@@ -45,8 +45,7 @@
<p>A value of true or false - if true a new instance of the
context entry value shall be created and retured to the
component per request. If false (the default) a container
- context implementation may safly cache context entry values
- across requests.</p>
+ context implementation may safely cache context entry values.</p>
</td>
</tr>
<tr>
@@ -76,7 +75,7 @@
* @avalon.entry key="home" type="java.io.File" optional="true"
* @avalon.entry key="time" type="java.util.Date" volatile="true"
* @avalon.entry key="table" type="java.lang.Object[]"
- * @avalon.entry key="name"
+ * @avalon.entry key="urn:avalon:name" alias="block.name"
*/
public void contextualize( Context context )
throws ContextException
@@ -106,9 +105,9 @@
</info>
<context>
<entry key="home" type="java.io.File" optional="true"/>
- <entry key="time" type="java.util.Date" optional="false" volatile="true"/>
- <entry key="table" type="java.lang.Object[]" optional="false"/>
- <entry key="name" type="java.lang.String" optional="false"/>
+ <entry key="time" type="java.util.Date" volatile="true"/>
+ <entry key="table" type="java.lang.Object[]"/>
+ <entry key="urn:avalon:name" alias="block.name">
</context>
</type>
]]></source>
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org