Adapt to new features of SLC v1.1.14
[gpl/argeo-tp.git] / META-INF / spring / distribution.xml
index 4329111804571269cce068c98137708076c2c0ca..d9ae45fb8d9073a9e90574224a80ec2897d2bb6a 100644 (file)
                <property name="osgiFactory" ref="osgiFactory" />
        </bean>
 
+       <!-- Must be a prototype since wrapper are stateful objects, properties 
+               such as version can be set by caller. -->
        <bean id="template.bndWrapper" class="org.argeo.slc.repo.osgi.BndWrapper"
-               abstract="true">
+               abstract="true" scope="prototype">
                <property name="bndProperties">
                        <props>
                                <prop key="Export-Package">*</prop>