...
Code Block |
---|
<bean id="org.fcrepo.server.storage.DOManagerConfiguration" name="org.fcrepo.server.storage.DOManagerConfiguration" class="org.fcrepo.server.config.ModuleConfiguration" autowire-candidate="true"> <constructor-arg index="0"> <list> <bean> <constructor-arg type="java.lang.String" value="pidNamespace" /> <property name="value" value="changeme" /> </bean> <bean> <constructor-arg type="java.lang.String" value="storagePool" /> <property name="value" value="localDerbyPool" /> </bean> <bean> <constructor-arg type="java.lang.String" value="storageCharacterEncoding" /> <property name="value" value="UTF-8" /> </bean> <bean> <constructor-arg type="java.lang.String" value="defaultExportFormat" /> <property name="value" value="info:fedora/fedora-system:FOXML-1.1" /> </bean> <bean> <constructor-arg type="java.lang.String" value="gSearchRESTURL" /> <property name="value" value="http://localhost:8080/fedoragsearch/rest" /> </bean> <bean> <constructor-arg type="java.lang.String" value="gSearchUsername" /> <property name="value" value="exampleUsername" /> </bean> <bean> <constructor-arg type="java.lang.String" value="gSearchPassword" /> <property name="value" value="examplePassword" /> </bean> </list> </constructor-arg> <constructor-arg index="1" type="java.lang.String" value="org.fcrepo.server.storage.DOManager" /> <constructor-arg index="2" type="java.lang.String" value="org.fcrepo.server.storage.DefaultDOManager" /> <constructor-arg index="3" type="java.lang.String" value="The interface to the storage subsystem." /> </bean> |
foo
Required Bean Configurations
As of the 3.5 release, there is only one uniformly required bean configuration: The org.trippi.io.TripleIteratorFactory bean must be included, with a destroy method mapped to "shutdown". If your repository has the Resource Index enabled, then you will also need an org.fcrepo.server.resourceIndex.TripleGenerator bean. Both of these beans are configured in $FEDORA_HOME/server/config/spring/triple-generator.xml, which is present by default if you have run the installer.h1.
Newly Configurable Components
TripleGenerator
When objects are created (or purged) in Fedora with the Resource Index enables, Fedora uses a TripleGenerator to determine which triples should be added or deleted from the index. In version 3.5, this component is configurable in Spring. Editing this configuration allows the addition of new content model-to-generator mappings for the default triple generator, org.fcrepo.server.resourceIndex.ModelBasedTripleGenerator.
...