]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - gis/plugins/org.argeo.gis.ui/META-INF/spring/commands.xml
Improve GIS
[lgpl/argeo-commons.git] / gis / plugins / org.argeo.gis.ui / META-INF / spring / commands.xml
index 5a6cc7fcb55e0ddeeeb3ec19f698ecf3c319357a..759f66cc3e53f2d316442f449af7e02c2f9d1f40 100644 (file)
@@ -4,8 +4,13 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans
         http://www.springframework.org/schema/beans/spring-beans.xsd">
 
-       <bean id="newMap"
-               class="org.argeo.gis.ui.commands.NewMap"
+       <bean id="newMap" class="org.argeo.gis.ui.commands.NewMap" scope="prototype">
+               <property name="session" ref="jcrSession"/>
+       </bean>
+       
+       <bean id="addFeatureSources" class="org.argeo.gis.ui.commands.AddFeatureSources"
                scope="prototype">
+               <property name="geoJcrMapper" ref="geoJcrMapper" />
+               <property name="session" ref="jcrSession"/>
        </bean>
 </beans>