liquibase.integration.servlet
Class LiquibaseServletListener.ServletValueContainer

java.lang.Object
  extended by liquibase.integration.servlet.LiquibaseServletListener.ServletValueContainer
All Implemented Interfaces:
ConfigurationValueProvider
Enclosing class:
LiquibaseServletListener

protected class LiquibaseServletListener.ServletValueContainer
extends Object
implements ConfigurationValueProvider


Constructor Summary
LiquibaseServletListener.ServletValueContainer(javax.servlet.ServletContext servletContext, InitialContext initialContext)
           
 
Method Summary
 String describeValueLookupLogic(ConfigurationProperty property)
          Generates a human consumable description of how the configured ConfigurationValueProvider(s) will attempt to set a default value.
 Object getValue(String prefixAndProperty)
          Try to read the value that is stored by the given key from JNDI the servlet context's init parameters system properties
 Object getValue(String namespace, String property)
          Return the value for a given namespace and property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiquibaseServletListener.ServletValueContainer

public LiquibaseServletListener.ServletValueContainer(javax.servlet.ServletContext servletContext,
                                                      InitialContext initialContext)
Method Detail

describeValueLookupLogic

public String describeValueLookupLogic(ConfigurationProperty property)
Description copied from interface: ConfigurationValueProvider
Generates a human consumable description of how the configured ConfigurationValueProvider(s) will attempt to set a default value. See LiquibaseConfiguration.describeValueLookupLogic(ConfigurationProperty)

Specified by:
describeValueLookupLogic in interface ConfigurationValueProvider

getValue

public Object getValue(String namespace,
                       String property)
Description copied from interface: ConfigurationValueProvider
Return the value for a given namespace and property. Returns null if this provider does not have a value for this property.

Specified by:
getValue in interface ConfigurationValueProvider

getValue

public Object getValue(String prefixAndProperty)
Try to read the value that is stored by the given key from



Copyright © 2016 Liquibase.org. All rights reserved.