summaryrefslogtreecommitdiff
path: root/java/demo/Freeze/library/BookFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/Freeze/library/BookFactory.java')
-rw-r--r--java/demo/Freeze/library/BookFactory.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/java/demo/Freeze/library/BookFactory.java b/java/demo/Freeze/library/BookFactory.java
deleted file mode 100644
index f056d71185f..00000000000
--- a/java/demo/Freeze/library/BookFactory.java
+++ /dev/null
@@ -1,32 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-class BookFactory implements Ice.ObjectFactory
-{
- @Override
- public Ice.Object
- create(String type)
- {
- assert(type.equals("::Demo::Book"));
- return new BookI(_library);
- }
-
- @Override
- public void
- destroy()
- {
- }
-
- BookFactory(LibraryI library)
- {
- _library = library;
- }
-
- private LibraryI _library;
-}