Spring注入

private static ApplicationContext context = new ClassPathXmlApplicationContext("classpath*:config/spring/appcontext-*.xml");private static SDKRegisterService sdkRegisterService = (SDKRegisterService)context.getBean("sdkRegisterService");
相關文章
相關標籤/搜索