Package sk.iway.iwcm

Class InitServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
sk.iway.iwcm.InitServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class InitServlet extends javax.servlet.http.HttpServlet
Inicializacia systemu, nastavenie databazy, overenie licencie
See Also:
  • Constructor Details

    • InitServlet

      public InitServlet()
  • Method Details

    • init

      public void init() throws javax.servlet.ServletException
      Description of the Method
      Overrides:
      init in class javax.servlet.GenericServlet
      Throws:
      javax.servlet.ServletException - Description of the Exception
    • initializeWebJET

      public static boolean initializeWebJET(DebugTimer dt, javax.servlet.ServletContext servletContext)
    • destroy

      public void destroy()
      Description of the Method
      Specified by:
      destroy in interface javax.servlet.Servlet
      Overrides:
      destroy in class javax.servlet.GenericServlet
    • getDatabaseValues

      public static Map<String,String> getDatabaseValues(Connection db_conn)
    • loadConstants

      public static void loadConstants(Map<String,String> databaseValues, javax.servlet.ServletContext servletContext)
    • verify

      public static boolean verify(javax.servlet.http.HttpServletRequest request)
      Description of the Method
      Parameters:
      request - Description of the Parameter
      Returns:
      Description of the Return Value
    • restart

      public static boolean restart()
    • getLicenseId

      public static int getLicenseId()
    • getActualVersionLong

      public static String getActualVersionLong()
    • getBrandSuffix

      public static String getBrandSuffix()
      Vrati suffix WebJET brandu pre logo, pre Intranet vrati net, pre dmail vrati msg inak cms
      Returns:
    • isWebjetInitialized

      public static boolean isWebjetInitialized()
    • isWebjetConfigured

      public static boolean isWebjetConfigured()
      Returns true if WebJET is configured (has records in conf table)
      Returns:
    • setContextDbName

      public static void setContextDbName(String name)
    • getContextDbName

      public static String getContextDbName()
    • isTypeCloud

      public static boolean isTypeCloud()
    • isValid

      public static boolean isValid()
    • setWebjetInitialized

      public static void setWebjetInitialized()
    • getServerStartDatetime

      public static Date getServerStartDatetime()
    • getActualVersion

      public static String getActualVersion()
    • isSpringInitialized

      public static boolean isSpringInitialized()
    • setSpringInitialized

      public static void setSpringInitialized()