public class IlvParameterValidationContextListener extends Object implements jakarta.servlet.ServletContextListener
ServletContextListener
that attempts to get the values of
"ilog.views.servlet.CHECK_PARAM" and "ilog.views.servlet.CHECK_SERVLET_CLASSES"
from the Web configuration file when the context is initialized.Modifier and Type | Field and Description |
---|---|
static String |
ILOG_VIEWS_SERVLET_CHECK_PARAM
The parameter of
ServletContext for Perforce JViews servlet check param. |
static String |
ILOG_VIEWS_SERVLET_CHECK_SERVLET_CLASSES
The parameter of
ServletContext for Perforce Jviews servlet classes. |
Constructor and Description |
---|
IlvParameterValidationContextListener()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(jakarta.servlet.ServletContextEvent sce)
Notification that the servlet context is about to be shut down.
|
void |
contextInitialized(jakarta.servlet.ServletContextEvent sce)
Notification that the web application initialization process is starting.
|
String[] |
getCheckServletClasses()
Returns the string array of servlet names needed to be checked, which
is set by "ilog.views.servlet.CHECK_SERVLET_CLASSES" in the Web configuration
file.
|
boolean |
isParemValidation()
Returns the value of "ilog.views.servlet.CHECK_PARAM" in the Web
configuration file.
|
public static final String ILOG_VIEWS_SERVLET_CHECK_SERVLET_CLASSES
ServletContext
for Perforce Jviews servlet classes.public static final String ILOG_VIEWS_SERVLET_CHECK_PARAM
ServletContext
for Perforce JViews servlet check param.public IlvParameterValidationContextListener()
public boolean isParemValidation()
false
.public String[] getCheckServletClasses()
public void contextDestroyed(jakarta.servlet.ServletContextEvent sce)
contextDestroyed
in interface jakarta.servlet.ServletContextListener
public void contextInitialized(jakarta.servlet.ServletContextEvent sce)
contextInitialized
in interface jakarta.servlet.ServletContextListener
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.