This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

The Spring 2.0 support for customising one's Spring XML configuration is not as of today detailed in the Spring reference documentation. It IS coming, it's just that other stuff has to date had a higher priority... transactions and AOP for example .

However, the support has been in and stable for some time now, and early adopting members of the Spring community have already written a number of blogs about how to start writing one's own custom tags. Find below some links that might help you out.

I have developed but when i try to create the configuration bean property, i just don't know how to do because if i use the addPropertyReference() method with BeanDefinitionBuilder, passing the result of executing rootBeanDefinition method, an exception is thrown telling me that bean has no id.

When i look the API i see a childBeanDefinition rather than rootBeanDefinition, but no class attribute is present. So how can i create using a NamespaceHandler for creating this embbedded bean (configuration) ?