Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Embed the members.xml Resource as it is only used once
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Sep 14, 2016
1 parent a8b997d commit c817b77
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions mdx/uk/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,23 +124,15 @@
</bean>


<!--
uk_membersResource
A Resource referencing the members.xml document.
-->
<bean id="uk_membersResource" parent="FileSystemResource">
<constructor-arg value="${members.dir}/members.xml"/>
</bean>


<!--
uk_membersDocument
This bean contains the contents of the members.xml file as a DOM Document.
-->
<bean id="uk_membersDocument" parent="DOMDocumentFactoryBean">
<property name="resource" ref="uk_membersResource"/>
<property name="resource">
<bean parent="FileSystemResource" c:_="${members.dir}/members.xml"/>
</property>
<property name="parserPool" ref="parserPool"/>
</bean>

Expand Down

0 comments on commit c817b77

Please sign in to comment.