Excellent thanks!   Don't know why I didn't see that in the docs.  

Maybe I should expand on the last question.   Can I use the depends 
attribute to autowire the cache as a property of the endpoint and how would 
that look?

Ok, maybe I'm starting to get this.   Could I define a bean 

<bean id="personCacheBean" 
   factory-bean="cacheStrategyManager" 
   factory-method="getCacheStrategyByName">
  <constructor-arg name="cacheStrategyName">
<value>personCache</value>
  </constructor-arg>
  <constructor-arg name="checkParent">
<value>true</value>
  </constructor-arg>
</bean>

And then say depends="personCacheBean" on the endpoint?

Thanks!

-- 
To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to