GH-725 Fix getNames() method to properly compute available function names
Resolves #725
This commit is contained in:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user