/
oai.xml
55 lines (47 loc) · 3.02 KB
/
oai.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:property-placeholder/>
<context:annotation-config/>
<!-- Mints PIDs-->
<bean class="org.fcrepo.mint.UUIDPidMinter"/>
<bean name="jcrPropertiesGenerator" class="org.fcrepo.oai.dublincore.JcrPropertiesGenerator"/>
<bean name="oaiProviderService" class="org.fcrepo.oai.service.OAIProviderService">
<property name="autoGenerateOaiDc" value="true"/>
<property name="maxListSize" value="5"/>
<property name="setsEnabled" value="true"/>
<property name="setsRootPath" value="/oai-cache/setspec"/>
<property name="propertyIsPartOfSet" value="http://fedora.info/definitions/v4/config#isPartOfOAISet"/>
<property name="propertyHasSets" value="http://fedora.info/definitions/v4/config#hasOAISet"/>
<property name="propertySetName" value="http://fedora.info/definitions/v4/config#hasOAISetName"/>
<property name="propertyHasSetSpec" value="http://fedora.info/definitions/v4/config#hasOAISetSpec"/>
<property name="metadataFormats">
<map>
<entry key="oai_dc" value-ref="dublinCoreOaiFormat" />
<entry key="marc21" value-ref="marc21OaiFormat" />
<entry key="premis" value-ref="premisOaiFormat" />
</map>
</property>
</bean>
<bean name="dublinCoreOaiFormat" class="org.fcrepo.oai.service.MetadataFormat">
<property name="prefix" value="oai_dc"/>
<property name="schemaUrl" value="http://www.openarchives.org/OAI/2.0/oai_dc.xsd"/>
<property name="namespace" value="http://www.openarchives.org/OAI/2.0/oai_dc/"/>
<property name="propertyName" value="http://fedora.info/definitions/v4/config#hasOaiDCRecord"/>
</bean>
<bean name="marc21OaiFormat" class="org.fcrepo.oai.service.MetadataFormat">
<property name="prefix" value="marc21" />
<property name="schemaUrl" value="http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd" />
<property name="namespace" value="http://www.loc.gov/MARC21/slim" />
<property name="propertyName" value="http://fedora.info/definitions/v4/config#hasOaiMarc21Record" />
</bean>
<bean name="premisOaiFormat" class="org.fcrepo.oai.service.MetadataFormat">
<property name="prefix" value="premis" />
<property name="schemaUrl" value="http://www.loc.gov/standards/premis/v2/premis-v2-0.xsd" />
<property name="namespace" value="info:lc/xmlns/premis-v2" />
<property name="propertyName" value="http://fedora.info/definitions/v4/config#hasOaiPremisRecord" />
</bean>
</beans>