Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

This page describes the changes made to JHove2 to get the modules running.

<!- BnF (Bibliothéque nationale de France) agent bean -> <bean id="BnFAgent" scope="singleton"> <constructor-arg value="Bibliothèque nationale de France"                 type="java.lang.String"/> <constructor-arg value="Corporate"                 type="org.jhove2.core.Agent$Type"/> <property name="URI" value="http://www.bnf.fr/"/> </bean>

/config/spring/jhove2-framework-config.xml

Add the following section to the xml. This adds a developer BnF to Jhove2.

Code Block
title*.xml
borderStylesolid

<!-- BnF (Bibliothéque nationale de France) agent bean -->

...


<bean id="BnFAgent" class="org.jhove2.core.Agent" scope="singleton">

...


<constructor-arg value="Bibliothèque nationale de

...

 France"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type="java.lang.String"/>

...


<constructor-arg value="Corporate"

...


&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type="org.jhove2.core.Agent$Type"/>

...


<property name="URI" value="http://www.bnf.fr/"/>

...


</bean>

 /config/spring/persist/jhove2-persist-config.xml

...