28. Dynamic language support .......................................................................................616
28.1. Introduction .................................................................................................616
28.2. A first example .............................................................................................616
28.3. Defining beans that are backed by dynamic languages ....................................618
Common concepts ........................................................................................618
The <lang:language/> element ...............................................................619
Refreshable beans .................................................................................619
Inline dynamic language source files ......................................................622
Understanding Constructor Injection in the context of
dynamic-language-backed beans ............................................................622
JRuby beans .................................................................................................623
Groovy beans ...............................................................................................625
Customising Groovy objects via a callback .............................................627
BeanShell beans ...........................................................................................628
28.4. Scenarios .....................................................................................................629
Scripted Spring MVC Controllers ..................................................................629
Scripted Validators .......................................................................................630
28.5. Bits and bobs ...............................................................................................631
AOP - advising scripted beans .......................................................................631
Scoping ........................................................................................................631
28.6. Further Resources .........................................................................................632
29. Annotations and Source Level Metadata Support ......................................................633
29.1. Introduction .................................................................................................633
29.2. Spring's metadata support .............................................................................634
29.3. Annotations .................................................................................................635
@Required ...................................................................................................635
Other @Annotations in Spring .......................................................................636
29.4. Integration with Jakarta Commons Attributes .................................................637
29.5. Metadata and Spring AOP autoproxying ........................................................639
Fundamentals ...............................................................................................639
Declarative transaction management ..............................................................640
A. XML Schema-based configuration ....................................................................................641
A.1. Introduction ..........................................................................................................641
A.2. XML Schema-based configuration .........................................................................642
Referencing the schemas .......................................................................................642
The util schema ....................................................................................................643
<util:constant/> ............................................................................................643
<util:property-path/> .....................................................................................645
<util:properties/> ..........................................................................................646
<util:list/> ....................................................................................................647
<util:map/> ..................................................................................................648
<util:set/> ....................................................................................................649
The jee schema .....................................................................................................649
<jee:jndi-lookup/> (simple) ...........................................................................650
<jee:jndi-lookup/> (with single JNDI environment setting) .............................650
Spring Framework
3.0.M3 Reference Documentation xx