try {
return (ProcessRunner)getBeanFactory().getBean(processName);
} catch (Exception e) {
String errMsg = Messages.getFormattedString("ProcessConfig.errorNoProcess", new String[] {processName, getConfigFileLocation()});
logger.error(errMsg, e);
throw new ProcessInitializationException(errMsg, e);
}
}