Package hudson.util.spring

Spring Bean Builder by using Groovy.

See:
          Description

Interface Summary
BeanConfiguration An interface that represent a runtime bean configuration Credit must go to Solomon Duskis and the article: http://jroller.com/page/Solomon?entry=programmatic_configuration_in_spring
 

Class Summary
BeanBuilder Runtime bean configuration wrapper.
ClosureScript Script that performs method invocations and property access like Closure does.
 

Package hudson.util.spring Description

Spring Bean Builder by using Groovy.

This code is originally from Grails but modifications are made since then to make the syntax more consistent.

Changes to the original code

Our version has support for getting rid of surrounding "bb.beans { ... }" if the script is parsed via the BeanBuilder.parse() method.

Anonymous bean definition syntax is changed to bean(CLASS) {...} from {CLASS _ -> ...} to increase consistency with named bean definition.



Copyright © 2004-2013. All Rights Reserved.