Class LiquibaseDAOImpl.ServletValueContainer

java.lang.Object
com.softslate.commerce.daos.core.LiquibaseDAOImpl.ServletValueContainer
All Implemented Interfaces:
liquibase.configuration.ConfigurationValueProvider
Enclosing class:
LiquibaseDAOImpl

protected class LiquibaseDAOImpl.ServletValueContainer extends Object implements liquibase.configuration.ConfigurationValueProvider
  • Field Details

    • servletContext

      private javax.servlet.ServletContext servletContext
    • initialContext

      private InitialContext initialContext
  • Constructor Details

    • ServletValueContainer

      public ServletValueContainer(javax.servlet.ServletContext servletContext, InitialContext initialContext)
  • Method Details

    • describeValueLookupLogic

      public String describeValueLookupLogic(liquibase.configuration.ConfigurationProperty property)
      Specified by:
      describeValueLookupLogic in interface liquibase.configuration.ConfigurationValueProvider
    • getValue

      public Object getValue(String namespace, String property)
      Specified by:
      getValue in interface liquibase.configuration.ConfigurationValueProvider
    • getValue

      public 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