summaryrefslogtreecommitdiff
path: root/java/test/Ice/objects/DI.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-02-24 13:57:03 +0000
committerMark Spruiell <mes@zeroc.com>2004-02-24 13:57:03 +0000
commit3479093d0d8a59649bb5c8d13d3ea5dee6fbe2ac (patch)
tree3ef462776bb2e7689c3e5ba0101c8adfefc3c728 /java/test/Ice/objects/DI.java
parentfixing client build (diff)
downloadice-3479093d0d8a59649bb5c8d13d3ea5dee6fbe2ac.tar.bz2
ice-3479093d0d8a59649bb5c8d13d3ea5dee6fbe2ac.tar.xz
ice-3479093d0d8a59649bb5c8d13d3ea5dee6fbe2ac.zip
adding ice_preMarshal/ice_postUnmarshal tests
Diffstat (limited to 'java/test/Ice/objects/DI.java')
-rw-r--r--java/test/Ice/objects/DI.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/java/test/Ice/objects/DI.java b/java/test/Ice/objects/DI.java
new file mode 100644
index 00000000000..6fd27eded4d
--- /dev/null
+++ b/java/test/Ice/objects/DI.java
@@ -0,0 +1,42 @@
+// **********************************************************************
+//
+// Copyright (c) 2003
+// ZeroC, Inc.
+// Billerica, MA, USA
+//
+// All Rights Reserved.
+//
+// Ice is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License version 2 as published by
+// the Free Software Foundation.
+//
+// **********************************************************************
+
+public final class DI extends D
+{
+ public
+ DI()
+ {
+ _postUnmarshalInvoked = false;
+ }
+
+ public boolean
+ postUnmarshalInvoked(Ice.Current current)
+ {
+ return _postUnmarshalInvoked;
+ }
+
+ public void
+ ice_preMarshal()
+ {
+ preMarshalInvoked = true;
+ }
+
+ public void
+ ice_postUnmarshal()
+ {
+ _postUnmarshalInvoked = true;
+ }
+
+ private boolean _postUnmarshalInvoked;
+}