public void loadConfig(String file) { bean = XmlBeanUtility.loadBean(file); if (bean == null) { loadDefaultConfig(); } }