Class ServletConfigurationValueProvider

    • Constructor Detail

      • ServletConfigurationValueProvider

        public ServletConfigurationValueProvider​(liquibase.integration.servlet.GenericServletWrapper.ServletContext servletContext,
                                                 InitialContext initialContext)
    • Method Detail

      • getProvidedValue

        public ProvidedValue getProvidedValue​(String... keyAndAliases)
        Try to read the value that is stored by the given key from
        • JNDI
        • the servlet context's init parameters
        • system properties
        Parameters:
        keyAndAliases - an array of keys to check, where the first element is the canonical key name, any aliases for that key as later elements.
        Returns:
        null if the key is not defined in this provider.