]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.client.rcp/META-INF/spring/commands.xml
Adapt RCP bundle to latest conventions
[gpl/argeo-slc.git] / org.argeo.slc.client.rcp / META-INF / spring / commands.xml
diff --git a/org.argeo.slc.client.rcp/META-INF/spring/commands.xml b/org.argeo.slc.client.rcp/META-INF/spring/commands.xml
new file mode 100644 (file)
index 0000000..7bd302c
--- /dev/null
@@ -0,0 +1,18 @@
+<?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"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
+        http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+       <!-- RCP Specific open JCR file command -->
+       <bean id="org.argeo.slc.client.rcp.openJcrFile" class="org.argeo.slc.client.ui.specific.OpenJcrFile"
+               scope="prototype">
+               <property name="repoService" ref="repoService" />
+       </bean>
+       
+       <bean id="repoService" class="org.argeo.slc.repo.core.RepoServiceImpl">
+               <property name="repositoryFactory" ref="repositoryFactory" />
+               <property name="keyring" ref="keyring" />
+               <property name="nodeRepository" ref="nodeRepository" />
+       </bean>
+</beans>
\ No newline at end of file