]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/META-INF/spring/views.xml
Restructure SLC
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / META-INF / spring / views.xml
diff --git a/plugins/org.argeo.slc.client.ui.dist/META-INF/spring/views.xml b/plugins/org.argeo.slc.client.ui.dist/META-INF/spring/views.xml
new file mode 100644 (file)
index 0000000..7540fe2
--- /dev/null
@@ -0,0 +1,50 @@
+<?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"
+       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-2.5.xsd">
+
+       <!-- Views -->
+       <bean id="artifactsBrowser" class="org.argeo.slc.client.ui.dist.views.ArtifactsBrowser"
+               scope="prototype">
+               <property name="jcrSession" ref="slcSession" />
+       </bean>
+       <bean id="queryArtifactsForm" class="org.argeo.slc.client.ui.dist.views.QueryArtifactsForm"
+               scope="prototype">
+               <property name="session" ref="slcSession" />
+               <property name="columnProperties">
+                       <list>
+                               <value>slc:artifactVersion.jcr:uuid</value>
+                               <value>slc:artifactVersion.slc:groupId</value>
+                               <value>slc:artifactVersion.slc:artifactId</value>
+                               <value>slc:artifactVersion.slc:artifactVersion</value>
+                       </list>
+               </property>
+       </bean>
+       <bean id="queryBundlesForm" class="org.argeo.slc.client.ui.dist.views.QueryBundlesForm"
+               scope="prototype">
+               <property name="session" ref="slcSession" />
+               <property name="columnProperties">
+                       <list>
+                               <value>slc:artifactVersion.jcr:uuid</value>
+                               <value>slc:bundleArtifact.slc:symbolic-name</value>
+                               <value>slc:artifactVersion.slc:groupId</value>
+                               <value>slc:bundleArtifact.slc:bundle-version</value>
+                               <!-- <value>slc:bundleArtifact.slc:Fragment-Host</value> -->
+                       </list>
+               </property>
+       </bean>
+
+       <bean id="queryArtifactsText" class="org.argeo.slc.client.ui.dist.views.QueryArtifactsText"
+               scope="prototype">
+               <property name="session" ref="slcSession" />
+       </bean>
+
+       <bean id="distributionsView" class="org.argeo.slc.client.ui.dist.views.DistributionsView"
+               scope="prototype">
+               <property name="repository" ref="javaRepository" />
+       </bean>
+</beans>