Examples of ISystemConfigService


Examples of net.naijatek.myalumni.modules.common.service.ISystemConfigService

    WebApplicationContext wac = WebApplicationContextUtils
        .getWebApplicationContext(getServletContext());
    ISystemTaskService startupService = (ISystemTaskService) wac
        .getBean(BaseConstants.SERVICE_SYSTEM_TASK_LOOKUP);
    ISystemConfigService sysConfigService = (ISystemConfigService) wac
        .getBean(BaseConstants.SERVICE_SYSTEM_CONFIG);

    SystemConfigVO sysConfigVO = sysConfigService.getSystemConfig();
    getServletContext().setAttribute(BaseConstants.ORGANIZATION_NAME, sysConfigVO.getOrganizationName());
    getServletContext().setAttribute(BaseConstants.ORGANIZATION_SHORT_NAME, sysConfigVO.getOrganizationShortName());
    getServletContext().setAttribute(BaseConstants.ALBUM_URL, sysConfigVO.getAlbumUrl());
    getServletContext().setAttribute(BaseConstants.FORUM_URL, sysConfigVO.getForumUrl());
    getServletContext().setAttribute(BaseConstants.SERVER_URL, sysConfigVO.getServerUrl());
View Full Code Here

Examples of net.naijatek.myalumni.modules.common.service.ISystemConfigService

      throws JobExecutionException {

        try{
                    WebApplicationContext wac = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
                    IMemberService memService = (IMemberService) wac.getBean(BaseConstants.SERVICE_MEMBER_LOOKUP)
                    ISystemConfigService sysConfigService = (ISystemConfigService) wac.getBean(BaseConstants.SERVICE_SYSTEM_CONFIG);
           
                    SystemConfigVO sysConfigVO = sysConfigService.getSystemConfig();
           
                    // This job simply prints out its job name and the
                    // date and time that it is running
                    //String jobName = context.getJobDetail().getFullName();
                    //logger.info("===> BirthdayWishJob says: " + jobName + " executing at " + new Date());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.