Use OSGi Configuration Manager for node's Jackrabbit repository
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / kernel / KernelConstants.java
index f7feb3106f0057cc977a7d355b7b680c06009046..e06afa829fd45fcb39b900587a38dfc91f2a4680 100644 (file)
@@ -4,19 +4,26 @@ public interface KernelConstants {
        final static String NODE_INIT = "argeo.node.init";
 
        // Node
-       final static String REPO_HOME = "argeo.node.repo.home";
-       final static String REPO_TYPE = "argeo.node.repo.type";
+       /** Properties configuring the node repository */
+       final static String NODE_REPO_PROP_PREFIX = "argeo.node.repo.";
+       // final static String REPO_HOME = "argeo.node.repo.home";
+       // final static String REPO_TYPE = "argeo.node.repo.type";
        // final static String REPO_CONFIGURATION = "argeo.node.repo.configuration";
-       final static String REPO_DEFAULT_WORKSPACE = "argeo.node.repo.defaultWorkspace";
-       final static String REPO_DBURL = "argeo.node.repo.dburl";
-       final static String REPO_DBUSER = "argeo.node.repo.dbuser";
-       final static String REPO_DBPASSWORD = "argeo.node.repo.dbpassword";
-       final static String REPO_MAX_POOL_SIZE = "argeo.node.repo.maxPoolSize";
-       final static String REPO_MAX_CACHE_MB = "argeo.node.repo.maxCacheMB";
-       final static String REPO_BUNDLE_CACHE_MB = "argeo.node.repo.bundleCacheMB";
-       final static String REPO_EXTRACTOR_POOL_SIZE = "argeo.node.repo.extractorPoolSize";
-       final static String REPO_SEARCH_CACHE_SIZE = "argeo.node.repo.searchCacheSize";
-       final static String REPO_MAX_VOLATILE_INDEX_SIZE = "argeo.node.repo.maxVolatileIndexSize";
+       // final static String REPO_DEFAULT_WORKSPACE =
+       // "argeo.node.repo.defaultWorkspace";
+       // final static String REPO_DBURL = "argeo.node.repo.dburl";
+       // final static String REPO_DBUSER = "argeo.node.repo.dbuser";
+       // final static String REPO_DBPASSWORD = "argeo.node.repo.dbpassword";
+       // final static String REPO_MAX_POOL_SIZE = "argeo.node.repo.maxPoolSize";
+       // final static String REPO_MAX_CACHE_MB = "argeo.node.repo.maxCacheMB";
+       // final static String REPO_BUNDLE_CACHE_MB =
+       // "argeo.node.repo.bundleCacheMB";
+       // final static String REPO_EXTRACTOR_POOL_SIZE =
+       // "argeo.node.repo.extractorPoolSize";
+       // final static String REPO_SEARCH_CACHE_SIZE =
+       // "argeo.node.repo.searchCacheSize";
+       // final static String REPO_MAX_VOLATILE_INDEX_SIZE =
+       // "argeo.node.repo.maxVolatileIndexSize";
 
        final static String TRANSACTIONS_HOME = "argeo.node.transactions.home";
 
@@ -27,8 +34,7 @@ public interface KernelConstants {
        final static String ROLES_URI = "argeo.node.roles.uri";
        /** URI to an LDIF file or LDAP server used as initialization or backend */
        final static String USERADMIN_URIS = "argeo.node.useradmin.uris";
-       final static String[] DEFAULT_CNDS = { "/org/argeo/jcr/argeo.cnd",
-                       "/org/argeo/cms/cms.cnd" };
+       final static String[] DEFAULT_CNDS = { "/org/argeo/jcr/argeo.cnd", "/org/argeo/cms/cms.cnd" };
 
        // Directories
        final static String DIR_NODE = "node";