Package sk.iway.iwcm

Class InitServlet

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

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

    • InitServlet

      public InitServlet()
  • Method Details

    • init

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

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

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

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

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

      public static boolean verify(jakarta.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()