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 TypeMethodDescriptionvoid
destroy()
Description of the Methodstatic String
static String
static String
Vrati suffix WebJET brandu pre logo, pre Intranet vrati net, pre dmail vrati msg inak cmsstatic String
getDatabaseValues
(Connection db_conn) static int
static Date
void
init()
Description of the Methodstatic boolean
initializeWebJET
(DebugTimer dt, javax.servlet.ServletContext servletContext) static boolean
static boolean
static boolean
isValid()
static boolean
Returns true if WebJET is configured (has records in conf table)static boolean
static void
loadConstants
(Map<String, String> databaseValues, javax.servlet.ServletContext servletContext) static boolean
restart()
static void
setContextDbName
(String name) static void
static void
static boolean
verify
(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, service
Methods 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:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
- Description of the Exception
-
initializeWebJET
-
destroy
public void destroy()Description of the Method- Specified by:
destroy
in interfacejavax.servlet.Servlet
- Overrides:
destroy
in 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()
-