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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Description of the Methodstatic Stringstatic Stringstatic StringVrati suffix WebJET brandu pre logo, pre Intranet vrati net, pre dmail vrati msg inak cmsstatic StringgetDatabaseValues(Connection db_conn) static intstatic Datevoidinit()Description of the Methodstatic booleaninitializeWebJET(DebugTimer dt, javax.servlet.ServletContext servletContext) static booleanstatic booleanstatic booleanisValid()static booleanReturns true if WebJET is configured (has records in conf table)static booleanstatic voidloadConstants(Map<String, String> databaseValues, javax.servlet.ServletContext servletContext) static booleanrestart()static voidsetContextDbName(String name) static voidstatic voidstatic booleanverify(javax.servlet.http.HttpServletRequest request) Description of the MethodMethods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
InitServlet
public InitServlet()
-
-
Method Details
-
init
public void init() throws javax.servlet.ServletExceptionDescription of the Method- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException- Description of the Exception
-
initializeWebJET
-
destroy
public void destroy()Description of the Method- Specified by:
destroyin interfacejavax.servlet.Servlet- Overrides:
destroyin classjavax.servlet.GenericServlet
-
getDatabaseValues
-
loadConstants
-
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
-
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
-
getContextDbName
-
isTypeCloud
public static boolean isTypeCloud() -
isValid
public static boolean isValid() -
setWebjetInitialized
public static void setWebjetInitialized() -
getServerStartDatetime
-
getActualVersion
-
isSpringInitialized
public static boolean isSpringInitialized() -
setSpringInitialized
public static void setSpringInitialized()
-