forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmemory-components.xml
21 lines (18 loc) · 1.08 KB
/
memory-components.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<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.xsd">
<bean id="org.sakaiproject.memory.api.MemoryService"
class="org.sakaiproject.memory.impl.BaseMemoryService"
init-method="init" destroy-method="destroy">
<property name="serverConfigurationService" ref="org.sakaiproject.component.api.ServerConfigurationService" />
<property name="cacheManager" ref="org.sakaiproject.memory.api.MemoryService.cacheManager" />
</bean>
<bean id="org.sakaiproject.memory.api.MemoryService.cacheManager"
class="org.sakaiproject.memory.impl.SakaiCacheManagerFactoryBean">
<property name="configLocation">
<value>classpath:org/sakaiproject/memory/api/ehcache.xml</value>
</property>
<property name="serverConfigurationService" ref="org.sakaiproject.component.api.ServerConfigurationService" />
</bean>
</beans>