de.simple-spring-memcached.spring-cache-integration-test.4.1.3.source-code.flush-cache-beans.xml Maven / Gradle / Ivy
<?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:cache="http://www.springframework.org/schema/cache" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache-4.3.xsd"> <!-- flush all data from memcached before starting tests --> <bean id="flushUserCache" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" depends-on="userCache"> <property name="targetObject" ref="userCache" /> <property name="targetMethod" value="flush" /> </bean> <!-- flush all data from memcached before starting tests --> <bean id="flushClearableCache" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> <property name="targetObject" ref="clearableCache" /> <property name="targetMethod" value="flush" /> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy