With the release of version 2.0.5 of the Spring Framework the API of some namespace-related utility classes has been improved. Here are the related entries from the changelog.txt:
Changes in version 2.0.5 (2007-05-07) ------------------------------------- Package org.springframework.beans * added overloaded "rootBeanDefinition" factory methods with bean class name (instead of Class) toBeanDefinitionBuilder* added “getBeanClassName” template method toAbstractSingleBeanDefinitionParser, as alternative to “getBeanClass“
These two changes allow implementing custom Spring 2.0 configuration namespaces without relying on class loading within the BeanDefinitionParser implementations. That is required if you want your namespace to work with Spring IDE.
More information on implementing tooling-friendly namespaces is available in an older post.


2 Responses to “Refinements for NamespaceHandler Utility Classes”