Commit dbb3d854 authored by Nuno Oliveira's avatar Nuno Oliveira
Browse files

[GEOS-7351] Add prototype scopes for REST beans

parent eb197202
......@@ -129,14 +129,14 @@
</bean>
<bean id="ruleCacheInvalidator" class="org.geoserver.geofence.cache.rest.RuleCacheInvalidator" >
<bean id="ruleCacheInvalidator" class="org.geoserver.geofence.cache.rest.RuleCacheInvalidator" scope="prototype">
<constructor-arg index="0" ref="cachedRuleReader"/>
</bean>
<!-- =================================================================== -->
<!-- Next part is about REST command against accessManager -->
<!-- =================================================================== -->
<bean id="accessManagerMapping" class="org.geoserver.rest.RESTMapping">
<bean id="accessManagerMapping" class="org.geoserver.rest.RESTMapping" scope="prototype">
<property name="routes">
<map>
<entry>
......@@ -149,7 +149,7 @@
</property>
</bean>
<bean id="geofenceInfo" class="org.geoserver.geofence.rest.GeoFenceInfo" >
<bean id="geofenceInfo" class="org.geoserver.geofence.rest.GeoFenceInfo" scope="prototype">
<constructor-arg index="0" ref="geofenceConfigurationManager"/>
</bean>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment