Commit 1cad42a9 authored by Andrea Aime's avatar Andrea Aime
Browse files

Merge pull request #1377 from nmco/rest-beans-scope-2.8

[GEOS-7351] Add prototype scopes for REST beans (backport to 2.8.x)
parents ba2abeec dbb3d854
......@@ -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