applicationContext.getBean()

private static ApplicationContext ctx= new ClassPathXmlApplicationContext(    "spring/ws-client.xml");spring private static Cache cache = (Cache) ctx.getBean("cache"); app 當bean繼承spring 的FactoryBean時,
相關文章
相關標籤/搜索