标签:oca class xmla lap task 获取 ice ring new
1.在spring-servlet.xml中配置
<!--业务类的配置-->
<bean id="locationTaskService" class="com.location.service.LocationTaskServiceImpl"></bean>
2.添加获取bean的代码
ApplicationContext ac=new ClassPathXmlApplicationContext("spring-servlet.xml");
LocationTaskService cd=(LocationTaskService) ac.getBean("locationTaskService");
标签:oca class xmla lap task 获取 ice ring new
原文地址:http://www.cnblogs.com/zwliu/p/7232116.html