diff options
author | Marc Laukien <marc@zeroc.com> | 2002-11-27 21:54:20 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-11-27 21:54:20 +0000 |
commit | 8042456879b8fde8683df20274e7dc887a1e6737 (patch) | |
tree | f8ef3dc13589e6610e5473d5e5319125af2ee754 /java/src/Ice/_ObjectDelD.java | |
parent | added ami (diff) | |
download | ice-8042456879b8fde8683df20274e7dc887a1e6737.tar.bz2 ice-8042456879b8fde8683df20274e7dc887a1e6737.tar.xz ice-8042456879b8fde8683df20274e7dc887a1e6737.zip |
various changes
Diffstat (limited to 'java/src/Ice/_ObjectDelD.java')
-rw-r--r-- | java/src/Ice/_ObjectDelD.java | 46 |
1 files changed, 10 insertions, 36 deletions
diff --git a/java/src/Ice/_ObjectDelD.java b/java/src/Ice/_ObjectDelD.java index 046517b4f5d..518bcc697ee 100644 --- a/java/src/Ice/_ObjectDelD.java +++ b/java/src/Ice/_ObjectDelD.java @@ -18,7 +18,7 @@ public class _ObjectDelD implements _ObjectDel { public boolean ice_isA(String __id, java.util.Map __context) - throws LocationForward, IceInternal.NonRepeatable + throws IceInternal.NonRepeatable { Current __current = new Current(); __initCurrent(__current, "ice_isA", OperationMode.Nonmutating, __context); @@ -38,7 +38,7 @@ public class _ObjectDelD implements _ObjectDel public void ice_ping(java.util.Map __context) - throws LocationForward, IceInternal.NonRepeatable + throws IceInternal.NonRepeatable { Current __current = new Current(); __initCurrent(__current, "ice_ping", OperationMode.Nonmutating, __context); @@ -59,7 +59,7 @@ public class _ObjectDelD implements _ObjectDel public String[] ice_ids(java.util.Map __context) - throws LocationForward, IceInternal.NonRepeatable + throws IceInternal.NonRepeatable { Current __current = new Current(); __initCurrent(__current, "ice_ids", OperationMode.Nonmutating, __context); @@ -79,7 +79,7 @@ public class _ObjectDelD implements _ObjectDel public String ice_id(java.util.Map __context) - throws LocationForward, IceInternal.NonRepeatable + throws IceInternal.NonRepeatable { Current __current = new Current(); __initCurrent(__current, "ice_id", OperationMode.Nonmutating, __context); @@ -99,7 +99,7 @@ public class _ObjectDelD implements _ObjectDel public String[] ice_facets(java.util.Map __context) - throws LocationForward, IceInternal.NonRepeatable + throws IceInternal.NonRepeatable { Current __current = new Current(); __initCurrent(__current, "ice_facets", OperationMode.Nonmutating, __context); @@ -119,46 +119,20 @@ public class _ObjectDelD implements _ObjectDel public boolean ice_invoke(String operation, Ice.OperationMode mode, byte[] inParams, ByteSeqHolder outParams, - java.util.Map context) - throws LocationForward, IceInternal.NonRepeatable + java.util.Map context) + throws IceInternal.NonRepeatable { - Current current = new Current(); - __initCurrent(current, operation, mode, context); - while(true) - { - IceInternal.Direct __direct = new IceInternal.Direct(current); - try - { - Blobject servant = null; - try - { - servant = (Blobject)__direct.facetServant(); - } - catch(ClassCastException ex) - { - OperationNotExistException opEx = new OperationNotExistException(); - opEx.id = current.id; - opEx.facet = current.facet; - opEx.operation = current.operation; - throw opEx; - } - return servant.ice_invoke(inParams, outParams, current); - } - finally - { - __direct.destroy(); - } - } + throw new CollocationOptimizationException(); } public void ice_flush() { - // Nothing to do for direct delegates + // Nothing to do for direct delegates. } // - // Only for use by ObjectPrx + // Only for use by ObjectPrx. // final void __copyFrom(_ObjectDelD from) |