public class IlvParameterValidationContextListener extends Object implements javax.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 Rogue Wave JViews servlet check param. |
static String |
ILOG_VIEWS_SERVLET_CHECK_SERVLET_CLASSES
The parameter of
ServletContext for Rogue Wave Jviews servlet classes. |
Constructor and Description |
---|
IlvParameterValidationContextListener()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce)
Notification that the servlet context is about to be shut down.
|
void |
contextInitialized(javax.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 Rogue Wave Jviews servlet classes.public static final String ILOG_VIEWS_SERVLET_CHECK_PARAM
ServletContext
for Rogue Wave JViews servlet check param.public IlvParameterValidationContextListener()
public boolean isParemValidation()
false
.public String[] getCheckServletClasses()
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed
in interface javax.servlet.ServletContextListener
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.