Package liquibase.integration.servlet
Class LiquibaseJakartaServletListener
java.lang.Object
liquibase.integration.servlet.LiquibaseJakartaServletListener
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener
,EventListener
public class LiquibaseJakartaServletListener
extends Object
implements jakarta.servlet.ServletContextListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextDestroyed
(jakarta.servlet.ServletContextEvent sce) void
contextInitialized
(jakarta.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
-
LiquibaseJakartaServletListener
public LiquibaseJakartaServletListener()
-
-
Method Details
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent sce) - Specified by:
contextInitialized
in interfacejakarta.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent sce) - Specified by:
contextDestroyed
in interfacejakarta.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()