Exemple #1
0
 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);
 }
Exemple #2
0
  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);
  }