コード例 #1
0
ファイル: DataCountTask.java プロジェクト: coffeehb/jyy
 public DataCountTask() {
   super(null, Configurater.getInstance().getServletContext(), 0);
   projectService = (IprojectService) Component.getInstance("projectService", super.context);
   searchesService = (IsearchesService) Component.getInstance("searchesService", super.context);
   user =
       (TUser)
           searchesService.EntityQuery(
               TUser.class, Configurater.getInstance().getConfigValue("ws_user"));
   logger = searchesService.getLogManager(user).getLogger(DataCountTask.class);
 }
コード例 #2
0
ファイル: DataCountTask.java プロジェクト: coffeehb/jyy
  public DataCountTask(String taskName, ServletContext context, long period) {

    super(taskName, context, period);
    projectService = (IprojectService) Component.getInstance("projectService", super.context);
    searchesService = (IsearchesService) Component.getInstance("searchesService", super.context);
    user =
        (TUser)
            searchesService.EntityQuery(
                TUser.class, Configurater.getInstance().getConfigValue("ws_user"));
    logger = searchesService.getLogManager(user).getLogger(DataCountTask.class);
  }