Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Edwin Shin
committed
May 31, 2013
1 parent
337f731
commit 353a78d
Showing
3 changed files
with
82 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
<?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" | ||
xmlns:util="http://www.springframework.org/schema/util" | ||
xsi:schemaLocation=" | ||
<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" xmlns:util="http://www.springframework.org/schema/util" | ||
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 | ||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> | ||
|
||
<context:property-placeholder/> | ||
<context:annotation-config/> | ||
<context:property-placeholder /> | ||
<context:annotation-config /> | ||
|
||
<util:map id="serializers" key-type="java.lang.String" | ||
value-type="org.fcrepo.serialization.FedoraObjectSerializer"> | ||
<description>Map from formats to serializers for Fedora objects</description> | ||
<entry key="bagit"> | ||
<bean class="org.fcrepo.serialization.bagit.BagItSerializer"> | ||
<property name="prefixes"> | ||
<set value-type="java.lang.String"> | ||
<value>fedora</value> | ||
<value>dc</value> | ||
</set> | ||
</property> | ||
</bean> | ||
</entry> | ||
</util:map> | ||
<util:map id="serializers" key-type="java.lang.String" | ||
value-type="org.fcrepo.serialization.FedoraObjectSerializer"> | ||
<description>Map from formats to serializers for Fedora objects | ||
</description> | ||
<entry key="bagit"> | ||
<bean class="org.fcrepo.serialization.bagit.BagItSerializer"> | ||
<property name="prefixes"> | ||
<set value-type="java.lang.String"> | ||
<value>fedora</value> | ||
<value>dc</value> | ||
</set> | ||
</property> | ||
</bean> | ||
</entry> | ||
</util:map> | ||
|
||
|
||
<context:component-scan base-package="org.modeshape.web.jcr.rest, org.fcrepo.api, org.fcrepo.serialization, org.fcrepo.responses, org.fcrepo.exceptionhandlers"/> | ||
<context:component-scan | ||
base-package="org.modeshape.web.jcr.rest, org.fcrepo.api, org.fcrepo.serialization, org.fcrepo.responses, org.fcrepo.exceptionhandlers" /> | ||
|
||
<!-- Mints PIDs--> | ||
<bean class="org.fcrepo.identifiers.UUIDPidMinter"/> | ||
<bean class="org.fcrepo.session.SessionFactory"/> | ||
<!-- Mints PIDs --> | ||
<bean class="org.fcrepo.identifiers.UUIDPidMinter" /> | ||
<bean class="org.fcrepo.session.SessionFactory" /> | ||
|
||
</beans> |