Improve JCR and GIS
[lgpl/argeo-commons.git] / gis / plugins / org.argeo.gis.ui / META-INF / spring / commands.xml
index 5a6cc7fcb55e0ddeeeb3ec19f698ecf3c319357a..52746358de38a03d30d30cda68d6beef75435faa 100644 (file)
@@ -4,8 +4,11 @@
        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">
+       </bean>
+       
+       <bean id="addFeatureSources" class="org.argeo.gis.ui.commands.AddFeatureSources"
                scope="prototype">
+               <property name="geoJcrMapper" ref="geoJcrMapper" />
        </bean>
 </beans>