diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-02-24 13:57:03 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-02-24 13:57:03 +0000 |
commit | 3479093d0d8a59649bb5c8d13d3ea5dee6fbe2ac (patch) | |
tree | 3ef462776bb2e7689c3e5ba0101c8adfefc3c728 /java/test/Ice/objects/DI.java | |
parent | fixing client build (diff) | |
download | ice-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.java | 42 |
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; +} |