Author: sijskes
Date: Fri Jan 13 10:22:50 2012
New Revision: 1230978
URL: http://svn.apache.org/viewvc?rev=1230978&view=rev
Log:
spelling
Modified:
river/site/trunk/content/user-guide-basic-river-services.mdtext
Modified: river/site/trunk/content/user-guide-basic-river-services.mdtext
URL:
http://svn.apache.org/viewvc/river/site/trunk/content/user-guide-basic-river-services.mdtext?rev=1230978&r1=1230977&r2=1230978&view=diff
==============================================================================
--- river/site/trunk/content/user-guide-basic-river-services.mdtext (original)
+++ river/site/trunk/content/user-guide-basic-river-services.mdtext Fri Jan 13
10:22:50 2012
@@ -127,7 +127,13 @@ Finding a Lookup Service is only useful
- Execute the script `scripts/jrmp-outrigger-group.bat`
### Testing it
-To find any kind of service we must first create a template. This is an
instance of `ServiceTemplate` which describes the kind of thing we're looking
for. As the Jini specification says, nulls and empty arrays as wildcard
characters for "any value". So the following code is a template which will
match any service which implements the `JavaSapce` interface regardless of the
rest of it's characteristics.
+
+To find any kind of service we must first create a template.
+This is an instance of `ServiceTemplate` which describes the kind of thing
we're
+looking for.
+As the Jini specification says, nulls and empty arrays as wildcard characters
for
+"any value".
+So the following code is a template which will match any service which
implements the `JavaSpace` interface regardless of the rest of it's
characteristics.
ServiceTemplate template = new ServiceTemplate(null, new Class[) {
JavaSpace.class }, new Entry[0]());