diff options
author | Matthew Newhook <matthew@zeroc.com> | 2002-03-13 18:01:58 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2002-03-13 18:01:58 +0000 |
commit | 57c45d4f9ed283c74f4e95999146eca55b78968d (patch) | |
tree | 656aa288675b11b37df0da5f94f8462ea576cd5a /java/demo/Freeze/library/Collocated.java | |
parent | Cleanup (diff) | |
download | ice-57c45d4f9ed283c74f4e95999146eca55b78968d.tar.bz2 ice-57c45d4f9ed283c74f4e95999146eca55b78968d.tar.xz ice-57c45d4f9ed283c74f4e95999146eca55b78968d.zip |
cleanup
Diffstat (limited to 'java/demo/Freeze/library/Collocated.java')
-rw-r--r-- | java/demo/Freeze/library/Collocated.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/java/demo/Freeze/library/Collocated.java b/java/demo/Freeze/library/Collocated.java index 873548e24d8..666bbc66f5d 100644 --- a/java/demo/Freeze/library/Collocated.java +++ b/java/demo/Freeze/library/Collocated.java @@ -8,9 +8,9 @@ // // ********************************************************************** -class PhoneBookCollocated extends Freeze.Application +class LibraryCollocated extends Freeze.Application { - PhoneBookCollocated(String dbEnvName) + LibraryCollocated(String dbEnvName) { super(dbEnvName); } @@ -70,13 +70,13 @@ class PhoneBookCollocated extends Freeze.Application // // Create the library, and add it to the Object Adapter. // - LibraryI phoneBook = new LibraryI(adapter, dbAuthors, evictor); - adapter.add(phoneBook, Ice.Util.stringToIdentity("library")); + LibraryI library = new LibraryI(adapter, dbAuthors, evictor); + adapter.add(library, Ice.Util.stringToIdentity("library")); // // Create and install a factory and initializer for books. // - Ice.ObjectFactory bookFactory = new BookFactory(phoneBook, evictor); + Ice.ObjectFactory bookFactory = new BookFactory(library); communicator().addObjectFactory(bookFactory, "::Book"); // @@ -94,7 +94,7 @@ public class Collocated static public void main(String[] args) { - PhoneBookCollocated app = new PhoneBookCollocated("db"); - app.main("test.Freeze.phonebook.Collocated", args, "config"); + LibraryCollocated app = new LibraryCollocated("db"); + app.main("test.Freeze.library.Collocated", args, "config"); } } |