ITeye博客

spirng服务项目启动

yunlong167167 · 2014-01-14 16:53 · spring · 企业架构 · Markdown

public static void main(String[] args) {
        // TODO Auto-generated method stub
        //System.setProperty("LogDir", "E:/froad-Points/logs/");
        System.setProperty("LogDir", "c:/var/log/applogs/froad-points/");
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext(    "classpath*:content/*/*.xml");
           
        applicationContext.registerShutdownHook();
    }

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。