Skip to content

Commit

Permalink
Introduce a File abstract parent bean
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed May 1, 2017
1 parent d33502e commit 32b12ea
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion mdx/at_aconet/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<bean id="serializeImported" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${mdx.dir}/at_aconet/imported.xml"/>
</bean>
</property>
Expand Down
1 change: 1 addition & 0 deletions mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<!--
Java class parent shorthand beans.
-->
<bean id="File" abstract="true" class="java.io.File"/>
<bean id="String" abstract="true" class="java.lang.String"/>
<bean id="QName" abstract="true" class="javax.xml.namespace.QName"/>

Expand Down
2 changes: 1 addition & 1 deletion mdx/int_cobweb/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<bean id="serializeImported" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${mdx.dir}/int_cobweb/imported.xml"/>
</bean>
</property>
Expand Down
2 changes: 1 addition & 1 deletion mdx/int_edugain/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<bean id="serializeImported" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${mdx.dir}/int_edugain/imported.xml"/>
</bean>
</property>
Expand Down
2 changes: 1 addition & 1 deletion mdx/test/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<bean id="serializeImported" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${mdx.dir}/test/imported.xml"/>
</bean>
</property>
Expand Down
4 changes: 2 additions & 2 deletions mdx/uk/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<bean id="uk_fetchFragmentFiles" parent="mda.DOMFilesystemSourceStage">
<property name="parserPool" ref="parserPool"/>
<property name="source">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${entities.dir}"/>
</bean>
</property>
Expand Down Expand Up @@ -453,7 +453,7 @@
<bean id="uk_serializeStatistics" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${output.dir}/ukfederation-stats.html"/>
</bean>
</property>
Expand Down
2 changes: 1 addition & 1 deletion mdx/uk/collect.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<bean id="serializeCollected" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${mdx.dir}/uk/collected.xml"/>
</bean>
</property>
Expand Down
14 changes: 7 additions & 7 deletions mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
<bean id="serializeUnsignedProductionAggregate" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${output.dir}/ukfederation-metadata-unsigned.xml"/>
</bean>
</property>
Expand Down Expand Up @@ -309,7 +309,7 @@
<bean id="serializeUnsignedWayfAggregate" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${output.dir}/ukfederation-wayf-unsigned.xml"/>
</bean>
</property>
Expand Down Expand Up @@ -429,7 +429,7 @@
<bean id="serializeCDSAllAggregate" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${output.dir}/ukfederation-cdsall-unsigned.xml"/>
</bean>
</property>
Expand Down Expand Up @@ -492,7 +492,7 @@
<bean id="serializeUnsignedFallbackAggregate" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${output.dir}/ukfederation-back-unsigned.xml"/>
</bean>
</property>
Expand Down Expand Up @@ -545,7 +545,7 @@
<bean id="serializeUnsignedTestAggregate" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${output.dir}/ukfederation-test-unsigned.xml"/>
</bean>
</property>
Expand Down Expand Up @@ -599,7 +599,7 @@
<bean id="serializeUnsignedExportAggregate" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${output.dir}/ukfederation-export-unsigned.xml"/>
</bean>
</property>
Expand Down Expand Up @@ -822,7 +822,7 @@
<bean id="serializeUnsignedExportPreviewAggregate" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${output.dir}/ukfederation-export-preview-unsigned.xml"/>
</bean>
</property>
Expand Down
2 changes: 1 addition & 1 deletion mdx/uk/mdq-multisign.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<property name="outputStrategy">
<bean parent="mda.FilesInDirectoryMultiOutputStrategy" p:nameSuffix=".xml">
<property name="directory">
<bean class="java.io.File" c:_="${mdq.output}"/>
<bean parent="File" c:_="${mdq.output}"/>
</property>
<property name="nameTransformer">
<bean parent="mda.PathSegmentStringTransformer"/>
Expand Down
10 changes: 5 additions & 5 deletions mdx/uk/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<bean parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${output.dir}/statistics-charting.html"/>
</bean>
</property>
Expand All @@ -92,7 +92,7 @@
<bean id="serialize" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${mdx.dir}/uk/temp.html"/>
</bean>
</property>
Expand Down Expand Up @@ -225,7 +225,7 @@
<bean id="fetchImportMetadata" parent="mda.DOMFilesystemSourceStage">
<property name="parserPool" ref="parserPool"/>
<property name="source">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${entities.dir}/import.xml"/>
</bean>
</property>
Expand All @@ -239,7 +239,7 @@
<bean id="serializeImportedMetadata" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${entities.dir}/imported.xml"/>
</bean>
</property>
Expand Down Expand Up @@ -359,7 +359,7 @@
<bean id="serializeImported" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${mdx.dir}/uk/imported.xml"/>
</bean>
</property>
Expand Down
2 changes: 1 addition & 1 deletion mdx/us_incommon/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<bean id="serializeImported" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
<bean class="java.io.File">
<bean parent="File">
<constructor-arg value="${mdx.dir}/us_incommon/imported.xml"/>
</bean>
</property>
Expand Down

0 comments on commit 32b12ea

Please sign in to comment.