// find FunctionDefinitions
String[] beanNames = applicationContext.getBeanNamesForType(FunctionDefinition.class);
if (beanNames != null) {
for (int i = 0; i < beanNames.length; i++) {
FunctionDefinition functionDefinition = (FunctionDefinition) applicationContext.getBean(beanNames[i]);
hFunctions.put(functionDefinition.getName(), functionDefinition.getClassName());
}
}
// find FunctionWrappers
beanNames = applicationContext.getBeanNamesForType(FunctionWrapper.class);