diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-07-02 21:24:02 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-07-02 21:24:02 -0700 |
commit | a1a18f77a50804e0127dfa4b0f5240c49c541184 (patch) | |
tree | 19a38880afe505beddb5590379a8134d7730a277 /subsonic-main/src/main/webapp/WEB-INF/applicationContext-cache.xml | |
parent | b61d787706979e7e20f4c3c4f93c1f129d92273f (diff) | |
download | dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.gz dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.bz2 dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.zip |
Initial Commit
Diffstat (limited to 'subsonic-main/src/main/webapp/WEB-INF/applicationContext-cache.xml')
-rw-r--r-- | subsonic-main/src/main/webapp/WEB-INF/applicationContext-cache.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/subsonic-main/src/main/webapp/WEB-INF/applicationContext-cache.xml b/subsonic-main/src/main/webapp/WEB-INF/applicationContext-cache.xml new file mode 100644 index 00000000..a8692d08 --- /dev/null +++ b/subsonic-main/src/main/webapp/WEB-INF/applicationContext-cache.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<beans xmlns="http://www.springframework.org/schema/beans" + 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-2.5.xsd"> + + + <bean id="cacheFactory" class="net.sourceforge.subsonic.cache.CacheFactory"/> + + <bean id="userCache" factory-bean="cacheFactory" factory-method="getCache"> + <constructor-arg value="userCache"/> + </bean> + + <bean id="mediaFileMemoryCache" factory-bean="cacheFactory" factory-method="getCache"> + <constructor-arg value="mediaFileMemoryCache"/> + </bean> + + <bean id="musicFileMemoryCache" factory-bean="cacheFactory" factory-method="getCache"> + <constructor-arg value="musicFileMemoryCache"/> + </bean> + +</beans> |