Rename files and flows.
[gpl/argeo-tp.git] / META-INF / spring / javax.xml
diff --git a/META-INF/spring/javax.xml b/META-INF/spring/javax.xml
new file mode 100644 (file)
index 0000000..3a2ff20
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+       xmlns:util="http://www.springframework.org/schema/util" xmlns:flow="http://www.argeo.org/schema/slc-flow"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+       http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
+       http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">
+
+       <!-- REGISTER -->
+       <bean id="javax.annotation" p:version="3.0.0" parent="template.javax" />
+       <bean id="javax.el" p:version="2.2.0" parent="template.javax" />
+       <bean id="javax.servlet" p:version="3.0.0" parent="template.javax" />
+       <bean id="javax.servlet.jsp" p:version="2.2.0" parent="template.javax" />
+
+       <bean id="javax.inject" flow:as-flow="javax/javax.inject"
+               p:version="1.0.0" p:groupId="org.argeo.tp.javax" p:sourceCoords="javax.inject:javax.inject:1"
+               parent="template.mavenWrapper" />
+
+       <bean id="javax.jcr" flow:as-flow="javax/javax.jcr" p:version="2.0.0"
+               p:groupId="org.argeo.tp.javax" p:sourceCoords="javax.jcr:jcr:2.0"
+               parent="template.mavenWrapper" />
+
+       <!-- FACTORY -->
+       <bean id="template.javax" parent="template.bndWrapper" abstract="true">
+               <property name="groupId" value="org.argeo.tp.javax" />
+               <property name="license">
+                       <util:constant static-field="org.argeo.slc.repo.FreeLicense.CDDL" />
+               </property>
+       </bean>
+</beans>
\ No newline at end of file