Annotation handling in spring

This basis of much of the design and implementation is taken from the ehcache annotations work.

BeanDefinitionParser
AnnotationDrivenMemcachedBeanDefinitionParser.java

CacheManager
This is the bit that contains your business logic.

snippets: