diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-03-19 18:28:42 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-03-19 18:28:42 +0000 |
commit | dfc67624fccbbb400b225978c12efa21b58f6b7b (patch) | |
tree | fbc13c314207e2c05ff8307e18a9c3245939c626 /java/src | |
parent | cleanup (diff) | |
download | ice-dfc67624fccbbb400b225978c12efa21b58f6b7b.tar.bz2 ice-dfc67624fccbbb400b225978c12efa21b58f6b7b.tar.xz ice-dfc67624fccbbb400b225978c12efa21b58f6b7b.zip |
bug fix for createProxy
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/Ice/ObjectAdapterI.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/src/Ice/ObjectAdapterI.java b/java/src/Ice/ObjectAdapterI.java index bef2d109e3e..1337d1d4738 100644 --- a/java/src/Ice/ObjectAdapterI.java +++ b/java/src/Ice/ObjectAdapterI.java @@ -27,7 +27,6 @@ public class ObjectAdapterI implements ObjectAdapter public synchronized void activate() { - if (_deactivated) { throw new ObjectAdapterDeactivatedException(); @@ -379,7 +378,7 @@ public class ObjectAdapterI implements ObjectAdapter String value = _instance.properties().getProperty("Ice.PrintAdapterReady"); if (Integer.parseInt(value) >= 1) { - System.out.println(_name + " readY"); + System.out.println(_name + " ready"); } } catch (NumberFormatException ex) @@ -426,13 +425,14 @@ public class ObjectAdapterI implements ObjectAdapter sz = _routerEndpoints.size(); for (int i = 0; i < sz; i++) { - endpoints[i] = (IceInternal.Endpoint)_routerEndpoints.get(i); + endpoints[_incomingConnectionFactories.size() + i] = (IceInternal.Endpoint)_routerEndpoints.get(i); } // // Create a reference and return a proxy for this reference. // - IceInternal.Reference reference = _instance.referenceFactory().create(ident, "", IceInternal.Reference.ModeTwoway, false, + IceInternal.Reference reference = _instance.referenceFactory().create(ident, "", + IceInternal.Reference.ModeTwoway, false, endpoints, endpoints, null, null); return _instance.proxyFactory().referenceToProxy(reference); } |