knut 2004/09/27 06:51:37
Modified: framework/src/documentation/content/xdocs/hivemind
BuilderFactory.xml
framework/src/java/org/apache/hivemind/test
AggregateArgumentsMatcher.java
framework/src/java/org/apache/hivemind/impl
RegistryBuilder.java
RegistryInfrastructureConstructor.java
framework/src/test/org/apache/hivemind/impl
TestVisibility.java
Log:
- renamed RegistryInfrastructureConstructor#addModelDescriptor() to
addModuleDescriptor()
- corrected some typos in documentation
Revision Changes Path
1.10 +3 -3
jakarta-hivemind/framework/src/documentation/content/xdocs/hivemind/BuilderFactory.xml
Index: BuilderFactory.xml
===================================================================
RCS file:
/home/cvs/jakarta-hivemind/framework/src/documentation/content/xdocs/hivemind/BuilderFactory.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- BuilderFactory.xml 25 Sep 2004 17:08:35 -0000 1.9
+++ BuilderFactory.xml 27 Sep 2004 13:51:37 -0000 1.10
@@ -179,13 +179,13 @@
<p>
If no services implement the interface, or more than one does, then
an error will be logged. BuilderFactory
- accounts for <em>visibility</em> of the other services relative to
the module that contains that constructs the service.
+ accounts for <em>visibility</em> of the other services relative to
the module that contains the service's core implementation.
</p>
<p>
- Autowiring may be complicated by the fact that one module may
define a service point that will tangentally affect the
+ Autowiring may be complicated by the fact that one module may
define a service point that will tangentially affect the
construction of a service in
- another module (simply by implementing the same service inteface).
In this situation, service autowiring can be turned off, by setting the
+ another module (simply by implementing the same service interface).
In this situation, service autowiring can be turned off, by setting the
<code>autowire-services</code> attribute to false.
</p>
1.2 +2 -3
jakarta-hivemind/framework/src/java/org/apache/hivemind/test/AggregateArgumentsMatcher.java
Index: AggregateArgumentsMatcher.java
===================================================================
RCS file:
/home/cvs/jakarta-hivemind/framework/src/java/org/apache/hivemind/test/AggregateArgumentsMatcher.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AggregateArgumentsMatcher.java 25 Sep 2004 17:08:34 -0000 1.1
+++ AggregateArgumentsMatcher.java 27 Sep 2004 13:51:37 -0000 1.2
@@ -29,10 +29,9 @@
/**
* Aggregates the individual matchers. Each matcher is matched against
the argument in the same
* position. Null matchers, or arguments outside the array range, are
handled by a default
- * instance (of [EMAIL PROTECTED] org.easymock.internal.EqualsMatcher}).
This makes it easy to provide
- * special arguments matchers for particular
+ * instance (of [EMAIL PROTECTED] EqualsMatcher}). This makes it easy to
provide special argument matchers
+ * for particular arguments.
*/
-
public AggregateArgumentsMatcher(ArgumentMatcher[] matchers)
{
_matchers = matchers;
1.22 +1 -1
jakarta-hivemind/framework/src/java/org/apache/hivemind/impl/RegistryBuilder.java
Index: RegistryBuilder.java
===================================================================
RCS file:
/home/cvs/jakarta-hivemind/framework/src/java/org/apache/hivemind/impl/RegistryBuilder.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- RegistryBuilder.java 25 Sep 2004 17:08:34 -0000 1.21
+++ RegistryBuilder.java 27 Sep 2004 13:51:37 -0000 1.22
@@ -122,7 +122,7 @@
*/
private void processModule(ModuleDescriptor md)
{
- _constructor.addModelDescriptor(md);
+ _constructor.addModuleDescriptor(md);
}
/**
1.2 +2 -2
jakarta-hivemind/framework/src/java/org/apache/hivemind/impl/RegistryInfrastructureConstructor.java
Index: RegistryInfrastructureConstructor.java
===================================================================
RCS file:
/home/cvs/jakarta-hivemind/framework/src/java/org/apache/hivemind/impl/RegistryInfrastructureConstructor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- RegistryInfrastructureConstructor.java 25 Sep 2004 17:08:34 -0000
1.1
+++ RegistryInfrastructureConstructor.java 27 Sep 2004 13:51:37 -0000
1.2
@@ -163,7 +163,7 @@
/**
* Constructs the registry infrastructure, based on data collected
during the prior calls to
- * [EMAIL PROTECTED] #addModelDescriptor(ModuleDescriptor)}. Expects
that all post-processing of the
+ * [EMAIL PROTECTED] #addModuleDescriptor(ModuleDescriptor)}. Expects
that all post-processing of the
* [EMAIL PROTECTED] RegistryAssembly}has already occured.
*/
public RegistryInfrastructure constructRegistryInfrastructure(Locale
locale)
@@ -187,7 +187,7 @@
return result;
}
- public void addModelDescriptor(ModuleDescriptor md)
+ public void addModuleDescriptor(ModuleDescriptor md)
{
String id = md.getModuleId();
1.2 +2 -2
jakarta-hivemind/framework/src/test/org/apache/hivemind/impl/TestVisibility.java
Index: TestVisibility.java
===================================================================
RCS file:
/home/cvs/jakarta-hivemind/framework/src/test/org/apache/hivemind/impl/TestVisibility.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestVisibility.java 25 Sep 2004 17:08:34 -0000 1.1
+++ TestVisibility.java 27 Sep 2004 13:51:37 -0000 1.2
@@ -296,7 +296,7 @@
ModuleDescriptor md = parser.parse(getResource("Privates.xml"),
resolver);
- cons.addModelDescriptor(md);
+ cons.addModuleDescriptor(md);
md = parser.parse(getResource("ContributePrivate.xml"), resolver);
@@ -306,7 +306,7 @@
InterceptorDescriptor itd = (InterceptorDescriptor)
id.getInterceptors().get(0);
- cons.addModelDescriptor(md);
+ cons.addModuleDescriptor(md);
assembly.performPostProcessing();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]