InitController.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /**
  2. * @(#)file FrontController.java
  3. * @(#)author DaeJin Lee
  4. * @(#)version 1.0
  5. * @(#)date 2006. 5. 18.
  6. * @(#)since JDK 1.4.2
  7. *
  8. * Copyright (c) www.hsnc.co.kr, Inc.
  9. * All rights reserved.
  10. * This software is the proprietary information of Hanwha S&C, Inc.
  11. */
  12. package com.udapsoft.waf.system.controller;
  13. import javax.servlet.ServletConfig;
  14. import javax.servlet.ServletException;
  15. import javax.servlet.http.HttpServlet;
  16. import kr.co.hsnc.common.base.WAFLogger;
  17. import kr.co.hsnc.common.config.WAFConfig;
  18. /**
  19. * <p>Init Controller Class</p>
  20. * Web.xm 등록.
  21. * @version 1.0
  22. * @author DaeJin Lee
  23. */
  24. @SuppressWarnings("serial")
  25. public class InitController extends HttpServlet {
  26. /**
  27. * Init.
  28. */
  29. public void init(ServletConfig config) throws ServletException {
  30. // if( "Y".equals(WAFConfig.get("InitController.SignThreadManager.is.init")) ) {
  31. //
  32. // //WAFLogger.sys("InitController: SignThreadManager.doStart() called.(" + DateUtil.getSystemDate("yyyy-MM-dd HH:mm:ss.S") + ")");
  33. // //SignThreadManager.doStart();
  34. // //WAFLogger.sys("InitController: SignThreadManager.doStart() end. (" + DateUtil.getSystemDate("yyyy-MM-dd HH:mm:ss.S") + ")");
  35. // }
  36. if(WAFConfig.getBoolean("kr.co.hsnc.common.logger.console.view") ) {
  37. WAFLogger.setLogging(true);
  38. }
  39. }
  40. }