/**
* Initialization of the servlet. <br>
*
* @throws ServletException
* if an error occured
*/
@Override
public void init() throws ServletException {
integrationService = (IntegrationService) WebApplicationContextUtils
.getRequiredWebApplicationContext(getServletContext()).getBean("integrationService");
monitoringService = (IMonitoringService) WebApplicationContextUtils
.getRequiredWebApplicationContext(getServletContext()).getBean("monitoringService");
lessonService = (ILessonService) WebApplicationContextUtils
.getRequiredWebApplicationContext(getServletContext()).getBean("lessonService");
exportService = (IExportToolContentService) WebApplicationContextUtils
.getRequiredWebApplicationContext(getServletContext()).getBean("exportToolContentService");
toolService = (ILamsCoreToolService) WebApplicationContextUtils
.getRequiredWebApplicationContext(getServletContext()).getBean("lamsCoreToolService");
gradebookService = (IGradebookService) WebApplicationContextUtils
.getRequiredWebApplicationContext(getServletContext()).getBean("gradebookService");
userManagementService = (IUserManagementService) WebApplicationContextUtils
.getRequiredWebApplicationContext(getServletContext()).getBean("userManagementService");
securityService = (ISecurityService) WebApplicationContextUtils
.getRequiredWebApplicationContext(getServletContext()).getBean("securityService");
}
LessonManagerServlet.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:lams
作者:
评论列表
文章目录