]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/internal/jcr/RepoConf.java
1 package org
.argeo
.cms
.internal
.jcr
;
3 import org
.argeo
.osgi
.metatype
.EnumAD
;
4 import org
.argeo
.osgi
.metatype
.EnumOCD
;
6 /** JCR repository configuration */
7 public enum RepoConf
implements EnumAD
{
10 /** Default workspace */
11 defaultWorkspace("main"),
16 /** Database password */
19 /** The identifier (can be an URL locating the repo) */
22 // JACKRABBIT SPECIFIC
24 /** Maximum database pool size */
26 /** Maximum cache size in MB */
28 /** Bundle cache size in MB */
30 /** Extractor pool size */
32 /** Search cache size */
33 searchCacheSize(1000),
34 /** Max volatile index size */
35 maxVolatileIndexSize(1048576),
36 /** Cluster id (if appropriate configuration) */
38 /** Indexes base path */
41 /** The default value. */
45 RepoConf(String oid
, Object def
) {
50 RepoConf(Object def
) {
54 public Object
getDefault() {
59 public String
getID() {
62 return EnumAD
.super.getID();
65 public static class OCD
extends EnumOCD
<RepoConf
> {
66 public OCD(String locale
) {
67 super(RepoConf
.class, locale
);