Package bg.smoc.model.manager

Examples of bg.smoc.model.manager.GraderManager


    private static final long serialVersionUID = -212249266673072996L;

    @Override
    protected void service(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        GraderManager graderManager = SessionUtil.getInstance().getGraderManager();
        attachMachineQueue(request, "busyQueue", graderManager.getBusyMachineQueue());
        attachMachineQueue(request, "idleQueue", graderManager.getIdleMachineQueue());
        request.setAttribute("submitQueue", graderManager.getSubmitQueue());
        request.setAttribute("testQueue", graderManager.getTestQueue());
        request.setAttribute("gradeQueue", graderManager.getGradeQueue());

        request.setAttribute("autoreload", request.getParameter("autoreload"));
        loadSystemTime(request);

        request.getRequestDispatcher("main.jsp").forward(request, response);
View Full Code Here


  private static final long serialVersionUID = -212249266673072996L;

  @Override
  protected void service(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException {
    GraderManager graderManager = SessionUtil.getInstance().getGraderManager();
    attachMachineQueue(request, "busyQueue", graderManager.getBusyMachineQueue());
    attachMachineQueue(request, "idleQueue", graderManager.getIdleMachineQueue());
    request.setAttribute("submitQueue", graderManager.getSubmitQueue());
        request.setAttribute("feedbackQueue", graderManager.getFeedbackQueue());
    request.setAttribute("testQueue", graderManager.getTestQueue());
    request.setAttribute("gradeQueue", graderManager.getGradeQueue());

    request.setAttribute("autoreload", request.getParameter("autoreload"));
    loadSystemTime(request);

    request.getRequestDispatcher("main.jsp").forward(request, response);
View Full Code Here

     */
    private void setUpManagers() {
        userAccountManager = new UserAccountManager(userAccountSerializer);
        loginManager = new LoginManager();
        personManager = new PersonManager(personSerializer);
        graderManager = new GraderManager(gradingPort, workingDirectory);
        contestManager = new ContestManager(workingDirectory, contestSerializer);
        printManager = new PrintManager(workingDirectory);
       
        mediator = new ManagerMediator();
        mediator.setManagersFromSessionUtil(this);
View Full Code Here

TOP

Related Classes of bg.smoc.model.manager.GraderManager

Copyright © 2018 www.massapicom. 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.