23 lines
1.1 KiB
XML
23 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:p="http://www.springframework.org/schema/p"
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd
|
|
http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util-4.1.xsd">
|
|
|
|
<context:annotation-config/>
|
|
|
|
<bean class="org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration"/>
|
|
|
|
<!-- tag::configure-redis-action[] -->
|
|
<util:constant
|
|
static-field="org.springframework.session.data.redis.config.ConfigureRedisAction.NO_OP"/>
|
|
<!-- end::configure-redis-action[] -->
|
|
|
|
<bean class="docs.HttpSessionConfigurationNoOpConfigureRedisActionXmlTests"
|
|
factory-method="connectionFactory"/>
|
|
</beans>
|