setting properties in mvc:annotation-driven AnnotationMethodHandlerAdapter class?
After years on spring 2.5 for the web I am working on 3.0 and love it.
I am not sure if anybody has run into this issue. I am trying to set properties on the default AnnotationMethodHandlerAdapter class that is created by using the mvc:annotation-driven namespace. This is created in the
parsing class which is great. However I want to set attributes on that bean itself. Do I need to create my own beanfactory to do this? I would prefer NOT to define my AnnotationMethodHandlerAdapter in my spring config as we will have two instances of this class in the spring container and I would have to re-build the bean up from scratch with all the nice components in there. I might have to bean processor to handle this after init to inject my own beans/props into the AnnotationDrivenBeanDefinitionParser instance.
I guess this is a more general question for all things spring related but since it was in the mvc namespace i thought i would ask.