You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ne...@apache.org on 2004/03/04 16:48:48 UTC
cvs commit: avalon/meta/site/xdocs/meta/info/type index.xml info.xml
neeme 2004/03/04 07:48:48
Modified: meta/site/xdocs/meta/info index.xml service.xml
meta/site/xdocs/meta/info/type index.xml info.xml
Log:
various spelling and other fixes
Revision Changes Path
1.2 +3 -3 avalon/meta/site/xdocs/meta/info/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/avalon/meta/site/xdocs/meta/info/index.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- index.xml 24 Sep 2003 08:15:56 -0000 1.1
+++ index.xml 4 Mar 2004 15:48:47 -0000 1.2
@@ -20,7 +20,7 @@
Definition of the component type. A Type meta info object
describes the structural features of component at the level
equivalent to a class. A type includes information about
- deployment and runtime dependencies together arbitrary attributes,
+ deployment and runtime dependencies together with arbitrary attributes,
a component implementation version and a component type name.
</td>
</tr>
@@ -28,13 +28,13 @@
<td><a href="service.html">Service</a></td>
<td>
A service is a meta info object that describes a service
- provided by a component type. Service support the attribution
+ provided by a component type. Service supports the attribution
of a version and arbitrary properties.</td>
</tr>
<tr>
<td><a href="attributes/index.html">Attributes</a></td>
<td>
- Attribute declarations using in conjunction with meta-info
+ Attribute declarations used in conjunction with meta-info
descriptors supporting customisation of the meta-info model.
</td>
</tr>
1.3 +17 -9 avalon/meta/site/xdocs/meta/info/service.xml
Index: service.xml
===================================================================
RCS file: /home/cvs/avalon/meta/site/xdocs/meta/info/service.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- service.xml 11 Dec 2003 08:48:12 -0000 1.2
+++ service.xml 4 Mar 2004 15:48:47 -0000 1.3
@@ -12,22 +12,30 @@
<section name="Service Defintion">
<p>
-The org.apache.avalon.meta.info.ServiceDefinition class describes a type of service. It suppliments the classic Java interface with a version identifier and attributes. A ServiceDefintion may be referenced by multiple components that will typically suppliment the defintion in terms of additional attributes. References to a ServiceDefintion concern a component type declaration of depedencies, service access points, lifestyle extension ability, and lifestyle extension depedencies.</p>
-
-<p>An instance of ServiceDescriptor is created using a ServiceBuilder. The following code fragment shows the creation of new ServiceBuilder and the creation of a ServiceDefinition using the builder.</p>
+The org.apache.avalon.meta.info.ServiceDefinition class describes a type of
+service. It supplements the classic Java interface with a version identifier
+and attributes. A ServiceDefinition may be referenced by multiple components
+that will typically supplement the definition in terms of additional attributes.
+References to a ServiceDefinition concern a component type declaration of
+dependencies, service access points, lifestyle extension ability, and lifestyle
+extension dependencies.</p>
+
+<p>An instance of ServiceDescriptor is created using a ServiceBuilder. The
+following code fragment shows the creation of new ServiceBuilder and the
+creation of a ServiceDefinition using the builder.</p>
<source>
//
// create the builder
//
ServiceBuilder builder = new ServiceBuilder();
- builder.enableLogging( m_loger );
+ builder.enableLogging( m_logger );
//
- // create the service defintion
+ // create the service definition
//
- ServiceDefinition defintion = builder.build( this.class() );
+ ServiceDefinition definition = builder.build( this.class() );
</source>
<subsection name="XML Schema">
@@ -35,13 +43,13 @@
<source>
<font color="gray"><i><!--
- Example of a service defintion.
+ Example of a service definition.
--></i></font>
<service>
<font color="gray"><i><!--
- Declaration of a service version.
+ Declaration of service version.
--></i></font>
<version>3.2</version>
@@ -49,7 +57,7 @@
<attributes>
<font color="gray"><i><!--
- Attribute declarations included in a service defintion
+ Attribute declarations included in a service definition
are independent of a particular service implementation.
--></i></font>
1.3 +12 -11 avalon/meta/site/xdocs/meta/info/type/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/avalon/meta/site/xdocs/meta/info/type/index.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- index.xml 25 Feb 2004 13:33:10 -0000 1.2
+++ index.xml 4 Mar 2004 15:48:47 -0000 1.3
@@ -50,7 +50,7 @@
<tr>
<td><a href="services/index.html">services</a></td><td>0..1</td>
<td>
- Declaration of the set of service that the component type provides.
+ Declaration of the set of services that the component type provides.
</td>
</tr>
<tr>
@@ -83,7 +83,8 @@
<subsection name="Example XML">
-<p>Configuration instances supplied to the builder shall correspond to the <a href="http://avalon.apache.org/dtds/meta/type_1_1.dtd">type DTD</a>.
+<p>Configuration instances supplied to the builder shall correspond to the
+<a href="http://avalon.apache.org/dtds/meta/type_1_1.dtd">type DTD</a>.
The structure of a Type XML document is described below:</p>
<source>
@@ -100,12 +101,12 @@
<font color="gray"><i><!--
- Defintion of a single component info descriptor.
+ Definition of a single component info descriptor.
--></i></font>
<info>
- <font color="gray"><i><!-- the name of the component (character restrictions appply) --></i></font>
+ <font color="gray"><i><!-- the name of the component (character restrictions apply) --></i></font>
<name><font color="darkred">my-component</font></name>
@@ -113,7 +114,7 @@
<version><font color="darkred">1.2.1</font></version>
- <font color="gray"><i><!-- the set of attribibutes associated with the type
+ <font color="gray"><i><!-- the set of attributes associated with the type
(attribute names and values are examples only) --></i></font>
<attributes>
@@ -126,7 +127,7 @@
</info>
<font color="gray"><i><!--
- The set of logging catagories the component uses.
+ The set of logging categories the component uses.
--></i></font>
<loggers>
@@ -166,7 +167,7 @@
of supplying. Each service declared under the services element
may be referenced by other component info descriptions as a
dependency. A container is responsible for the assembly of
- components based on the connection of supply components to
+ components based on the connection of supplier components to
consumer components via a common service description.
--></i></font>
@@ -174,7 +175,7 @@
<font color="gray"><i><!--
The service element declares the classname of an service
- interface and the version identifier the qualifies the service
+ interface and the version identifier that qualify as the service
version. The default version value is 1.0.
--></i></font>
@@ -185,9 +186,9 @@
<attributes>
<font color="gray"><i><!--
- Attributes qualifying a service implementation may be included
+ Attributes qualifying as service implementation may be included
as supplementary information to the attributes declared under
- a ServiceDefintion.
+ a ServiceDefinition.
--></i></font>
</attributes>
1.7 +4 -3 avalon/meta/site/xdocs/meta/info/type/info.xml
Index: info.xml
===================================================================
RCS file: /home/cvs/avalon/meta/site/xdocs/meta/info/type/info.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- info.xml 14 Dec 2003 20:26:26 -0000 1.6
+++ info.xml 4 Mar 2004 15:48:47 -0000 1.7
@@ -29,7 +29,7 @@
<td>lifestyle</td><td>0..1</td>
<td>
Declaration of the component lifestyle. May contain one of the
- reconized values "singleton", "thread", "pooled", or "transient".
+ recognized values "singleton", "thread", "pooled", or "transient".
</td>
</tr>
<tr>
@@ -54,7 +54,8 @@
<subsection name="Description">
<p>
-The org.apache.avalon.meta.info.infoDescriptor class describes the component type name, version, and optionally a set of attributes.
+The org.apache.avalon.meta.info.InfoDescriptor class describes the component
+type name, version, and optionally a set of attributes.
</p>
</subsection>
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org