GH-725 Fix getNames() method to properly compute available function names

Resolves #725
This commit is contained in:
Oleg Zhurakousky
2021-11-12 11:36:40 +01:00
parent 1528ad22c5
commit 5e568cc417
13 changed files with 623 additions and 0 deletions

View File

@@ -89,6 +89,8 @@ public class BeanFactoryAwareFunctionRegistry extends SimpleFunctionRegistry imp
.addAll(Arrays.asList(this.applicationContext.getBeanNamesForType(Supplier.class)));
registeredNames
.addAll(Arrays.asList(this.applicationContext.getBeanNamesForType(Consumer.class)));
registeredNames
.addAll(Arrays.asList(this.applicationContext.getBeanNamesForType(FunctionRegistration.class)));
}
else {
registeredNames.addAll(Arrays.asList(this.applicationContext.getBeanNamesForType(type)));