From da731d2bb81666b9c697d9099da632e7dfcdc0f7 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Tue, 9 Sep 2014 12:13:21 +0200 Subject: Replaced int sysKey Item identifier with UUID, which is now portable. ItemPath objects are now used to identify Items throughout the kernel, replacing ints and Integers. --- src/main/java/com/c2kernel/process/Gateway.java | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/main/java/com/c2kernel/process/Gateway.java') diff --git a/src/main/java/com/c2kernel/process/Gateway.java b/src/main/java/com/c2kernel/process/Gateway.java index 85262e8..c2dd646 100644 --- a/src/main/java/com/c2kernel/process/Gateway.java +++ b/src/main/java/com/c2kernel/process/Gateway.java @@ -20,7 +20,6 @@ import com.c2kernel.lookup.AgentPath; import com.c2kernel.lookup.Lookup; import com.c2kernel.lookup.LookupManager; import com.c2kernel.persistency.ClusterStorageException; -import com.c2kernel.persistency.NextKeyManager; import com.c2kernel.persistency.TransactionManager; import com.c2kernel.process.auth.Authenticator; import com.c2kernel.process.module.ModuleManager; @@ -61,7 +60,6 @@ public class Gateway static private boolean orbDestroyed = false; static private Lookup mLookup; static private LookupManager mLookupManager = null; - static private NextKeyManager mNextKeyManager; static private TransactionManager mStorage; static private ProxyManager mProxyManager; static private ProxyServer mProxyServer; @@ -161,10 +159,6 @@ public class Gateway else { throw new CannotManageException("Lookup implementation is not a LookupManager. Cannot write to directory"); } - - // init next key manager - mNextKeyManager = (NextKeyManager)mC2KProps.getInstance("NextKeyManager"); - mNextKeyManager.open(auth); // start entity proxy server mProxyServer = new ProxyServer(mC2KProps.getProperty("ItemServer.name")); @@ -290,11 +284,6 @@ public class Gateway if (mCorbaServer != null) mCorbaServer.close(); mCorbaServer = null; - - // close next key manager - if (mNextKeyManager != null) - mNextKeyManager.close(); - mNextKeyManager = null; // disconnect from storages if (mStorage != null) @@ -428,9 +417,5 @@ public class Gateway } } - - public static NextKeyManager getNextKeyManager() { - return mNextKeyManager; - } } -- cgit v1.2.3