diff options
author | Michi Henning <michi@zeroc.com> | 2003-08-27 08:59:34 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-08-27 08:59:34 +0000 |
commit | 3e55486ea753901101bed6974e872d0002c8aaed (patch) | |
tree | a615409a0cf6472a00162709cd007ff045b690c8 /java/src/Ice/ObjectAdapterI.java | |
parent | Added test for ice_getContext(). (diff) | |
download | ice-3e55486ea753901101bed6974e872d0002c8aaed.tar.bz2 ice-3e55486ea753901101bed6974e872d0002c8aaed.tar.xz ice-3e55486ea753901101bed6974e872d0002c8aaed.zip |
Added per-proxy contexts to icej. For ice, added context to operator== and
the hash function for proxies.
Diffstat (limited to 'java/src/Ice/ObjectAdapterI.java')
-rw-r--r-- | java/src/Ice/ObjectAdapterI.java | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/java/src/Ice/ObjectAdapterI.java b/java/src/Ice/ObjectAdapterI.java index d9fbb6c84d4..b91d8119198 100644 --- a/java/src/Ice/ObjectAdapterI.java +++ b/java/src/Ice/ObjectAdapterI.java @@ -341,8 +341,9 @@ public final class ObjectAdapterI extends LocalObjectImpl implements ObjectAdapt // IceInternal.Endpoint[] endpoints = new IceInternal.Endpoint[0]; IceInternal.Reference ref = - _instance.referenceFactory().create(ident, new String[0], IceInternal.Reference.ModeTwoway, - false, "", endpoints, null, null, this, true); + _instance.referenceFactory().create(ident, new java.util.HashMap(), new String[0], + IceInternal.Reference.ModeTwoway, false, + "", endpoints, null, null, this, true); return _instance.proxyFactory().referenceToProxy(ref); } @@ -662,8 +663,9 @@ public final class ObjectAdapterI extends LocalObjectImpl implements ObjectAdapt // IceInternal.Endpoint[] endpoints = new IceInternal.Endpoint[0]; IceInternal.Reference reference = - _instance.referenceFactory().create(ident, new String[0], IceInternal.Reference.ModeTwoway, - false, _id, endpoints, null, _locatorInfo, null, true); + _instance.referenceFactory().create(ident, new java.util.HashMap(), new String[0], + IceInternal.Reference.ModeTwoway, false, + _id, endpoints, null, _locatorInfo, null, true); return _instance.proxyFactory().referenceToProxy(reference); } } @@ -701,8 +703,9 @@ public final class ObjectAdapterI extends LocalObjectImpl implements ObjectAdapt // Create a reference and return a proxy for this reference. // IceInternal.Reference reference = - _instance.referenceFactory().create(ident, new String[0], IceInternal.Reference.ModeTwoway, - false, "", endpoints, null, _locatorInfo, null, true); + _instance.referenceFactory().create(ident, new java.util.HashMap(), new String[0], + IceInternal.Reference.ModeTwoway, false, + "", endpoints, null, _locatorInfo, null, true); return _instance.proxyFactory().referenceToProxy(reference); } |