Class DatabasePropertySource

java.lang.Object
org.springframework.core.env.PropertySource<String>
com.logicaldoc.util.spring.DatabasePropertySource

public class DatabasePropertySource extends org.springframework.core.env.PropertySource<String>
Reads the propeties from the database (ld_generic of type 'conf')
Since:
8.8.6
Author:
Marco Meschieri - LogicalDOC
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource

    org.springframework.core.env.PropertySource.StubPropertySource
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Tries to retrieve a property by using a direct JDBC query against the DB

    Methods inherited from class org.springframework.core.env.PropertySource

    containsProperty, equals, getName, getSource, hashCode, named, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DatabasePropertySource

      public DatabasePropertySource()
  • Method Details

    • getProperty

      public Object getProperty(String key)
      Tries to retrieve a property by using a direct JDBC query against the DB
      Specified by:
      getProperty in class org.springframework.core.env.PropertySource<String>
      Parameters:
      key - The property name
      Returns:
      The found value, may be null