INT-3958: Groovy Compiler Customization Support

JIRA: https://jira.spring.io/browse/INT-3958

* Introduce `compileStatic` and `compilerConfiguration` properties for the `GroovyScriptExecutingMessageProcessor`,
to allow to customize the Groovy Script compilation
* Introduce `compile-static` and `compiler-configuration` options on the `<int-groovy:script>` component
* Change `RefreshableResourceScriptSource.suggestedClassName()` to return the **full** file name together with the
extension. That may be useful during the filtering phase for Compiler customization
* Modify tests to demonstrate different Compiler customization tricks
* Since Spring Boot 1.4 is already based on the SF-4.3, make an appropriate upgrade, too

Doc Polishing

More Docs Polishing
This commit is contained in:
Artem Bilan
2016-02-29 14:58:26 -05:00
committed by Gary Russell
parent 82c2da8dc4
commit 15026062ac
15 changed files with 237 additions and 53 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -60,7 +60,7 @@ public class RefreshableResourceScriptSource implements ScriptSource {
}
public String suggestedClassName() {
return this.source.suggestedClassName();
return this.source.getResource().getFilename();
}
public boolean isModified() {