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 Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String key) Tries to retrieve a property by using a direct JDBC query against the DB
-
Constructor Details
-
Method Details
-
getProperty
Tries to retrieve a property by using a direct JDBC query against the DB- Specified by:
getProperty
in classorg.springframework.core.env.PropertySource<String>
- Parameters:
key
- The property name- Returns:
- The found value, may be null
-