X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms%2Fsrc%2Forg%2Fargeo%2Fcms%2Finternal%2Fkernel%2FActivator.java;h=6d50f3dabed2f2c1de6b758c6fb35080a37a7f4c;hb=52a45835da8cd816ac2e2b22ee9b84101fe8fb06;hp=ae482d792e5703d7a935abed11c4d9e8638e92be;hpb=ed3d525b21f55ed76763381b91c888404487e3e1;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.cms/src/org/argeo/cms/internal/kernel/Activator.java b/org.argeo.cms/src/org/argeo/cms/internal/kernel/Activator.java index ae482d792..6d50f3dab 100644 --- a/org.argeo.cms/src/org/argeo/cms/internal/kernel/Activator.java +++ b/org.argeo.cms/src/org/argeo/cms/internal/kernel/Activator.java @@ -162,17 +162,7 @@ public class Activator implements BundleActivator { private void initNode() throws IOException { // Node state -// Path stateUuidPath = bc.getDataFile("stateUuid").toPath(); -// String stateUuid; -// if (Files.exists(stateUuidPath)) { -// stateUuid = Files.readAllLines(stateUuidPath).get(0); -// } else { -// stateUuid = bc.getProperty(Constants.FRAMEWORK_UUID); -// Files.write(stateUuidPath, stateUuid.getBytes()); -// } nodeState = new CmsState(); -// Dictionary regProps = LangUtils.dico(Constants.SERVICE_PID, NodeConstants.NODE_STATE_PID); -// regProps.put(NodeConstants.CN, stateUuid); registerService(NodeState.class, nodeState, null); // Node deployment @@ -236,6 +226,7 @@ public class Activator implements BundleActivator { return getNodeUserAdmin().getAcceptorCredentials(); } + @Deprecated public static boolean isSingleUser() { return getNodeUserAdmin().isSingleUser(); }