/** * @param args * @throws IOException * @throws DaoException */ public static void main(String[] args) throws IOException, DaoException { new AutoTagger(); }
public AutoTagger() throws IOException, DaoException{ ApplicationContext appContext = new ClassPathXmlApplicationContext("fwspring.xml"); idf = (IDaoFactory) appContext.getBean("ibatisDao"); tagDao = appContext.getBean("tagDao", TagDao.class); parseTagDescFile(); for(TagDesc td : tagDescs){ process(td); } }