root/gs3-extensions/fedora/fedora-files/akubra-llstore.xml.in @ 26376

Revision 26376, 3.2 KB (checked in by ak19, 7 years ago)

All the customised template files added to fedora 3.6.1 and fedoragsearch 2.5 to get the automated installation (using Greenstone 3's tomcat) working

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
3<beans>
4
5  <bean name="org.fcrepo.server.storage.lowlevel.ILowlevelStorage"
6    class="org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorageModule">
7    <constructor-arg index="0">
8      <map />
9    </constructor-arg>
10    <constructor-arg index="1" ref="org.fcrepo.server.Server" />
11    <constructor-arg index="2" type="java.lang.String"
12      value="org.fcrepo.server.storage.lowlevel.ILowlevelStorage" />
13    <property name="impl"
14      ref="org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorage" />
15  </bean>
16
17  <bean
18    name="org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorage"
19    class="org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorage"
20    singleton="true">
21    <constructor-arg>
22      <description>The store of serialized Fedora objects</description>
23      <ref bean="objectStore" />
24    </constructor-arg>
25    <constructor-arg>
26      <description>The store of datastream content</description>
27      <ref bean="datastreamStore" />
28    </constructor-arg>
29    <constructor-arg value="true">
30      <description>if true, replaceObject calls will be done in a way
31        that
32        ensures the old content is not deleted until the new content is safely
33        written. If the objectStore already does this, this should be
34        given as
35        false</description>
36    </constructor-arg>
37    <constructor-arg value="true">
38      <description>save as above, but for datastreamStore</description>
39    </constructor-arg>
40  </bean>
41
42  <bean name="objectStore" class="org.akubraproject.map.IdMappingBlobStore"
43    singleton="true">
44    <constructor-arg value="urn:example.org:objectStore" />
45    <constructor-arg>
46      <ref bean="fsObjectStore" />
47    </constructor-arg>
48    <constructor-arg>
49      <ref bean="fsObjectStoreMapper" />
50    </constructor-arg>
51  </bean>
52
53  <bean name="fsObjectStore" class="org.akubraproject.fs.FSBlobStore"
54    singleton="true">
55    <constructor-arg value="urn:example.org:fsObjectStore" />
56    <constructor-arg value="@GSDL3SRCHOME@/ext/fedora3/data/objectStore"/>
57  </bean>
58
59  <bean name="fsObjectStoreMapper"
60    class="org.fcrepo.server.storage.lowlevel.akubra.HashPathIdMapper"
61    singleton="true">
62    <constructor-arg value="##" />
63  </bean>
64
65  <bean name="datastreamStore" class="org.akubraproject.map.IdMappingBlobStore"
66    singleton="true">
67    <constructor-arg value="urn:fedora:datastreamStore" />
68    <constructor-arg>
69      <ref bean="fsDatastreamStore" />
70    </constructor-arg>
71    <constructor-arg>
72      <ref bean="fsDatastreamStoreMapper" />
73    </constructor-arg>
74  </bean>
75
76  <bean name="fsDatastreamStore" class="org.akubraproject.fs.FSBlobStore"
77    singleton="true">
78    <constructor-arg value="urn:example.org:fsDatastreamStore" />
79    <constructor-arg value="@GSDL3SRCHOME@/ext/fedora3/data/datastreamStore"/>
80  </bean>
81
82  <bean name="fsDatastreamStoreMapper"
83    class="org.fcrepo.server.storage.lowlevel.akubra.HashPathIdMapper"
84    singleton="true">
85    <constructor-arg value="##" />
86  </bean>
87
88  <bean name="fedoraStorageHintProvider"
89    class="org.fcrepo.server.storage.NullStorageHintsProvider"
90    singleton="true">
91  </bean>
92
93</beans>
Note: See TracBrowser for help on using the browser.