diff options
Diffstat (limited to 'java/test/Ice/location/ServerLocatorRegistry.java')
-rw-r--r-- | java/test/Ice/location/ServerLocatorRegistry.java | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/java/test/Ice/location/ServerLocatorRegistry.java b/java/test/Ice/location/ServerLocatorRegistry.java index 24218875480..4a28cdaada5 100644 --- a/java/test/Ice/location/ServerLocatorRegistry.java +++ b/java/test/Ice/location/ServerLocatorRegistry.java @@ -11,55 +11,55 @@ public class ServerLocatorRegistry extends Test._TestLocatorRegistryDisp { public void setAdapterDirectProxy_async(Ice.AMD_LocatorRegistry_setAdapterDirectProxy cb, String adapter, - Ice.ObjectPrx object, Ice.Current current) + Ice.ObjectPrx object, Ice.Current current) { - _adapters.put(adapter, object); - cb.ice_response(); + _adapters.put(adapter, object); + cb.ice_response(); } public void setReplicatedAdapterDirectProxy_async(Ice.AMD_LocatorRegistry_setReplicatedAdapterDirectProxy cb, String adapter, - String replica, Ice.ObjectPrx object, Ice.Current current) + String replica, Ice.ObjectPrx object, Ice.Current current) { - _adapters.put(adapter, object); - _adapters.put(replica, object); - cb.ice_response(); + _adapters.put(adapter, object); + _adapters.put(replica, object); + cb.ice_response(); } public void setServerProcessProxy_async(Ice.AMD_LocatorRegistry_setServerProcessProxy cb, String id, Ice.ProcessPrx proxy, - Ice.Current current) + Ice.Current current) { } public void addObject(Ice.ObjectPrx object, Ice.Current current) { - _objects.put(object.ice_getIdentity(), object); + _objects.put(object.ice_getIdentity(), object); } public Ice.ObjectPrx getAdapter(String adapter) - throws Ice.AdapterNotFoundException + throws Ice.AdapterNotFoundException { - Ice.ObjectPrx obj = (Ice.ObjectPrx)_adapters.get(adapter); - if(obj == null) - { - throw new Ice.AdapterNotFoundException(); - } - return obj; + Ice.ObjectPrx obj = (Ice.ObjectPrx)_adapters.get(adapter); + if(obj == null) + { + throw new Ice.AdapterNotFoundException(); + } + return obj; } public Ice.ObjectPrx getObject(Ice.Identity id) - throws Ice.ObjectNotFoundException + throws Ice.ObjectNotFoundException { - Ice.ObjectPrx obj = (Ice.ObjectPrx)_objects.get(id); - if(obj == null) - { - throw new Ice.ObjectNotFoundException(); - } - return obj; + Ice.ObjectPrx obj = (Ice.ObjectPrx)_objects.get(id); + if(obj == null) + { + throw new Ice.ObjectNotFoundException(); + } + return obj; } private java.util.HashMap _adapters = new java.util.HashMap(); |