~ubuntu-branches/ubuntu/oneiric/ehcache/oneiric

« back to all changes in this revision

Viewing changes to core/src/test/resources/spring/ehcache-beans.xml

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2010-06-23 10:35:31 UTC
  • mfrom: (1.1.5 upstream) (2.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100623103531-ra0qdpmotoz6ygct
Tags: 2.1.0-1
Merge changes from Thierry's PPA and upload to Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<beans xmlns="http://www.springframework.org/schema/beans"
3
 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
 
       xmlns:aop="http://www.springframework.org/schema/aop"
5
 
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
6
 
           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
7
 
 
8
 
    <bean id="cacheManager" class="net.sf.ehcache.CacheManager">
9
 
        <constructor-arg index="0" type="java.net.URL"
10
 
                         value="classpath:/ehcache.xml"/>
11
 
    </bean>
12
 
 
13
 
    <bean id="userCache"
14
 
          class="org.acegisecurity.providers.dao.cache.EhCacheBasedUserCache">
15
 
        <property name="cache">
16
 
            <bean class="org.springframework.cache.ehcache.EhCacheFactoryBean">
17
 
                <property name="cacheManager">
18
 
                    <bean  class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"/>
19
 
                </property>
20
 
                <property name="cacheName" value="userCache"/>
21
 
            </bean>
22
 
        </property>
23
 
    </bean>
24
 
 
25
 
</beans>
 
 
b'\\ No newline at end of file'