<context:property-placeholder location="classpath:memcached.properties" />
<bean class="com.whalin.MemCached.SockIOPool" factory-method="getInstance"
init-method="initialize" destroy-method="shutDown" lazy-init="false">
<constructor-arg value="memcachedPool" />
<property name="servers">
<list>
<value>${memcached.servers}</value>
</list>
</property>
<property name="initConn">
<value>${memcached.initConn}</value>
</property>
<property name="minConn">
<value>${memcached.minConn}</value>
</property>
<property name="maxConn">
<value>${memcached.maxConn}</value>
</property>
<property name="maintSleep">
<value>${memcached.maintSleep}</value>
</property>
<property name="nagle">
<value>${memcached.nagle}</value>
</property>
<property name="aliveCheck">
<value>${memcached.aliveCheck}</value>
</property>
<property name="socketTO">
<value>${memcached.socketTO}</value>
</property>
<property name="socketConnectTO">
<value>${memcached.socketConnectTO}</value>
</property>
</bean>
<bean class="com.whalin.MemCached.MemCachedClient">
<constructor-arg value="memcachedPool" />
</bean>