Skip to content

Commit

Permalink
Add a beans.xml file
Browse files Browse the repository at this point in the history
This allows clients to reference these beans in a more compact way.
  • Loading branch information
iay committed Mar 26, 2017
1 parent dc8f6ca commit 6602e99
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src/main/resources"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
Expand Down
34 changes: 34 additions & 0 deletions src/main/resources/uk/org/iay/incommon/mda/beans.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
default-lazy-init="true"
xmlns:c="http://www.springframework.org/schema/c"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

<!--
Bean definitions for use to reference components in this library.
All defined bean names are prefixed with "inc.".
-->

<!--
Parent beans.
-->

<bean id="inc.component_parent" abstract="true"
init-method="initialize" destroy-method="destroy"/>

<bean id="inc.stage_parent" abstract="true" parent="inc.component_parent"/>

<!--
Component beans.
-->

<bean id="inc.InCommonEntityOrderingStrategy" abstract="true"
class="uk.org.iay.incommon.mda.dom.saml.InCommonEntityOrderingStrategy"/>

</beans>

0 comments on commit 6602e99

Please sign in to comment.