Package liquibase.integration.servlet
Class LiquibaseServletListener
java.lang.Object
liquibase.integration.servlet.LiquibaseServletListener
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextListener
public class LiquibaseServletListener
extends Object
implements javax.servlet.ServletContextListener
Version of
GenericServletListener
that uses javax.servlet and NOT jakarta.servlet-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextDestroyed
(javax.servlet.ServletContextEvent sce) void
contextInitialized
(javax.servlet.ServletContextEvent sce) void
contextInitialized
(liquibase.integration.servlet.GenericServletWrapper.ServletContext servletContext) Deprecated.void
setChangeLogFile
(String changeLogFile) void
setContexts
(String ctxt) void
setDataSource
(String dataSource) Sets the name of the data source.void
setLabelFilter
(String labelFilter) void
Deprecated.
-
Constructor Details
-
LiquibaseServletListener
public LiquibaseServletListener()
-
-
Method Details
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce) - Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce) - Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
getChangeLogFile
-
setChangeLogFile
-
getContexts
-
setContexts
-
getLabels
Deprecated.usegetLabelFilter()
-
setLabels
Deprecated. -
getLabelFilter
-
setLabelFilter
-
getDataSource
-
setDataSource
Sets the name of the data source. -
getDefaultSchema
-
contextInitialized
public void contextInitialized(liquibase.integration.servlet.GenericServletWrapper.ServletContext servletContext)
-
getLabelFilter()