Files
spring-data-geode/src/test/resources/SpringServerLauncherCacheProviderIntegrationTest-context.xml
Dan Smith 4272216552 SGF-476 - Implement ServerLauncherCacheProvider to launch geode with spring.
Geode has removed the direct dependency on spring data gemfire in favor
of using a ServiceLoader to allow overriding the behavior of geode's server
launcher start behavior. Implementing the ServerLauncherCacheProvider
interface to allow SDG to override the server launcher behavior to parse
a spring xml file, if present.
2016-03-01 15:43:00 -08:00

26 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- data source Spring XML configuration file and meta-data, using GemFire -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:gfe="http://www.springframework.org/schema/gemfire"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
">
<util:properties id="gemfireProperties">
<prop key="name">SpringContextBootstrappingInitializerTest</prop>
<prop key="statistic-sampling-enabled">false</prop>
<prop key="mcast-port">0</prop>
<prop key="log-level">config</prop>
</util:properties>
<gfe:cache properties-ref="gemfireProperties" use-bean-factory-locator="false"
critical-heap-percentage="55"/>
<gfe:replicated-region id="TestRegion" persistent="false"/>
</beans>