19.6 Property Override Configuration - Reference Documentation
Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith, Lari Hotari
Version: 3.1.4
19.6 Property Override Configuration
Grails supports setting of bean properties via configuration.You define abeans
block with the names of beans and their values:beans {
bookService {
webServiceURL = "http://www.amazon.com"
}
}
[bean name].[property name] = [value]
beans.bookService.webServiceURL=http://www.amazon.com