summaryrefslogtreecommitdiff
path: root/java/demo/Freeze/library/Server.java
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-10-16 17:56:43 +0000
committerMarc Laukien <marc@zeroc.com>2003-10-16 17:56:43 +0000
commita60420c1e7c51bbad2974da1be066f219a74e552 (patch)
tree63e4f90f043ca8498ab97834506881e692359dfc /java/demo/Freeze/library/Server.java
parent*** empty log message *** (diff)
downloadice-a60420c1e7c51bbad2974da1be066f219a74e552.tar.bz2
ice-a60420c1e7c51bbad2974da1be066f219a74e552.tar.xz
ice-a60420c1e7c51bbad2974da1be066f219a74e552.zip
minor
Diffstat (limited to 'java/demo/Freeze/library/Server.java')
-rw-r--r--java/demo/Freeze/library/Server.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/demo/Freeze/library/Server.java b/java/demo/Freeze/library/Server.java
index af0ebae74c1..65ce2fbc03f 100644
--- a/java/demo/Freeze/library/Server.java
+++ b/java/demo/Freeze/library/Server.java
@@ -20,7 +20,7 @@ class LibraryServer extends Ice.Application
Ice.Properties properties = communicator().getProperties();
//
- // Create an Evictor for books.
+ // Create an evictor for books.
//
Freeze.Evictor evictor = Freeze.Util.createEvictor(communicator(), _envName, "books", null, true);
int evictorSize = properties.getPropertyAsInt("Library.EvictorSize");
@@ -30,20 +30,20 @@ class LibraryServer extends Ice.Application
}
//
- // Create an Object Adapter, use the Evictor as Servant
- // Locator.
+ // Create an object adapter, use the evictor as servant
+ // locator.
//
Ice.ObjectAdapter adapter = communicator().createObjectAdapter("Library");
adapter.addServantLocator(evictor, "book");
//
- // Create the library, and add it to the Object Adapter.
+ // Create the library, and add it to the object adapter.
//
LibraryI library = new LibraryI(communicator(), _envName, "authors", evictor);
adapter.add(library, Ice.Util.stringToIdentity("library"));
//
- // Create and install a factory and initializer for books.
+ // Create and install a factory for books.
//
Ice.ObjectFactory bookFactory = new BookFactory(library);
communicator().addObjectFactory(bookFactory, "::Book");