return (LogFormat) beanFactory.getBean("logFormat");
}
public static ConfigurableListableBeanFactory loadBeanFactory(Resource r) throws Exception {
XmlBeanFactory beanFactory = new XmlBeanFactory(r);
beanFactory.addPropertyEditorRegistrar(new KoljaPropertyEditorRegistrar());
return new GenericApplicationContext(beanFactory).getBeanFactory();
}
public static ConfigurableListableBeanFactory loadBeanFactory(String string) throws Exception {