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 Link icon

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    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 Link icon

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

    Methods inherited from class java.lang.Object Link icon

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

    • DatabasePropertySource Link icon

      public DatabasePropertySource()
  • Method Details Link icon

    • getProperty Link icon

      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