Make GroovyBeanDefinitionSource accessible to the CLI again

It was made package-private in 31b0e817 but it needs to be protected
due to its use in the CLI's GroovyBeansTransformation.
This commit is contained in:
Andy Wilkinson
2017-01-28 10:55:29 +00:00
parent 8747e039ee
commit 74510bd844

View File

@@ -326,7 +326,8 @@ class BeanDefinitionLoader {
/**
* Source for Bean definitions defined in Groovy.
*/
interface GroovyBeanDefinitionSource {
@FunctionalInterface
protected interface GroovyBeanDefinitionSource {
Closure<?> getBeans();