Announcement Announcement Module
No announcement yet.
Scriptlet support in XML bean definition? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scriptlet support in XML bean definition?

    I ran some search on scripting support, and only found support for entire bean factories being implemented in script languages. What about embedding scriptlets in a regular XML bean definition file? E.g., it'd be neat to be able to define a bean postprocessor with a couple lines of Groovy code.

  • #2
    We have considered this from time to time, but we don't really want to encourage programming in XML. We're going to be offering some new configuration options in Spring 1.3, so it might be something we consider again then.