Spring context:annotation-config

In our previous examples we have to define a bean for each BeanPostProcessor we wanted to use. Spring provides a shortcut to do this in the context namespace. We simply need to add the context namespace to our declared namespaces at the top of our config xml file and add the context:annotation-config to our bean … Continue reading Spring context:annotation-config