Files
spring-session-data-geode/samples/xml/gemfire-clientserver/src/main/resources/META-INF/spring/session-server.xml
John Blum f44ae0c586 Change Apache Geode/Pivotal GemFire 'log-level' to 'error'.
Fix compiler warnings.

Fix Javadoc warnings.
2018-04-30 18:11:16 -07:00

45 lines
1.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:gfe="http://www.springframework.org/schema/gemfire"
xmlns:p="http://www.springframework.org/schema/p"
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/context http://www.springframework.org/schema/context/spring-context.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
">
<!-- tag::beans[] -->
<context:annotation-config/>
<context:property-placeholder location="classpath:META-INF/spring/application.properties"/>
<!--1-->
<util:properties id="gemfireProperties">
<prop key="name">SpringSessionSampleXmlGemFireClientServer</prop>
<prop key="log-level">${spring.session.data.gemfire.log-level:error}</prop>
<!--
<prop key="jmx-manager">true</prop>
<prop key="jmx-manager-start">true</prop>
-->
</util:properties>
<!--2-->
<gfe:cache properties-ref="gemfireProperties"/>
<!--3-->
<gfe:cache-server auto-startup="true"
bind-address="${application.geode.client-server.host:localhost}"
host-name-for-clients="${application.geode.client-server.host:localhost}"
port="${spring.session.data.geode.cache.server.port:${application.geode.client-server.port:40404}}"/>
<!--4-->
<bean class="org.springframework.session.data.gemfire.config.annotation.web.http.GemFireHttpSessionConfiguration"
p:maxInactiveIntervalInSeconds="30"/>
<!-- end::beans[] -->
</beans>