//-------------------------------------------------------------------------
protected static void addParameterizedFunctionConfiguration(final InMemoryFunctionRepository repository, final ParameterizedFunctionConfiguration functionConfig) {
try {
final Class<?> definitionClass = ReflectionUtils.loadClass(functionConfig.getDefinitionClassName());
final AbstractFunction functionDefinition = createParameterizedFunction(definitionClass, functionConfig.getParameter());
repository.addFunction(functionDefinition);
} catch (final RuntimeException ex) {
s_logger.error("Unable to add function definition {}, ignoring", functionConfig);
s_logger.info("Caught exception", ex);
}