<?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-2.5.xsd">
	<bean id="cacheAdministrator"
		class="com.opensymphony.oscache.general.GeneralCacheAdministrator"
		destroy-method="destroy">
		<constructor-arg index="0">
			<props>
				<prop key="cache.capacity">10</prop>
			</props>
		</constructor-arg>
	</bean>

	<bean id="cache" factory-bean="cacheAdministrator"
		factory-method="getCache" />

	<bean id="cacheService"
		class="anyframe.core.cache.impl.DefaultCacheService">
		<property name="cache" ref="cache" />
	</bean>
</beans>
