]> git.argeo.org Git - lgpl/argeo-commons.git/blob - repository-memory.xml
e552c33a776c94a8983f86d8c43d2c4d3aea1d3d
[lgpl/argeo-commons.git] / repository-memory.xml
1 <?xml version="1.0"?>
2 <!--
3
4 Copyright (C) 2007-2012 Argeo GmbH
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 -->
19 <!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN"
20 "http://jackrabbit.apache.org/dtd/repository-2.0.dtd">
21 <Repository>
22 <!-- File system and datastore -->
23 <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
24
25 <!-- Workspace templates -->
26 <Workspaces rootPath="${rep.home}/workspaces"
27 defaultWorkspace="main" configRootPath="/workspaces" />
28 <Workspace name="${wsp.name}">
29 <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
30 <PersistenceManager
31 class="org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager">
32 <param name="blobFSBlockSize" value="1" />
33 </PersistenceManager>
34 <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
35 <param name="path" value="${rep.home}/repository/index" />
36 <param name="directoryManagerClass"
37 value="org.apache.jackrabbit.core.query.lucene.directory.RAMDirectoryManager" />
38 <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
39 </SearchIndex>
40 </Workspace>
41
42 <!-- Versioning -->
43 <Versioning rootPath="${rep.home}/version">
44 <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
45 <PersistenceManager
46 class="org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager">
47 <param name="blobFSBlockSize" value="1" />
48 </PersistenceManager>
49 </Versioning>
50
51 <!-- Indexing -->
52 <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
53 <param name="path" value="${rep.home}/repository/index" />
54 <param name="directoryManagerClass"
55 value="org.apache.jackrabbit.core.query.lucene.directory.RAMDirectoryManager" />
56 <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem" />
57 </SearchIndex>
58
59 <!-- Security -->
60 <Security appName="Jackrabbit">
61 <SecurityManager class="org.argeo.security.jackrabbit.ArgeoSecurityManager"
62 workspaceName="security">
63 </SecurityManager>
64 <AccessManager class="org.argeo.security.jackrabbit.ArgeoAccessManager">
65 </AccessManager>
66 <LoginModule class="org.argeo.security.jackrabbit.ArgeoLoginModule">
67 </LoginModule>
68 </Security>
69 </Repository>