Package com.logicaldoc.util.spring
Class DatabasePropertySource
java.lang.Object
org.springframework.core.env.PropertySource<String>
com.logicaldoc.util.spring.DatabasePropertySource
Reads the propeties from the database (ld_generic of type 'conf')
- Since:
- 8.8.6
- Author:
- Marco Meschieri - LogicalDOC
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.core.env.PropertySourceorg.springframework.core.env.PropertySource.StubPropertySource
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetProperty(String key) Tries to retrieve a property by using a direct JDBC query against the DBMethods inherited from class org.springframework.core.env.PropertySourcecontainsProperty, equals, getName, getSource, hashCode, named, toString
- 
Constructor Details- 
DatabasePropertySourcepublic DatabasePropertySource()
 
- 
- 
Method Details- 
getPropertyTries to retrieve a property by using a direct JDBC query against the DB- Specified by:
- getPropertyin class- org.springframework.core.env.PropertySource<String>
- Parameters:
- key- The property name
- Returns:
- The found value, may be null
 
 
-