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
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
org.springframework.core.env.PropertySource.StubPropertySource
-
Constructor Summary
-
Method Summary
Modifier 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.PropertySource
containsProperty, equals, getName, getSource, hashCode, named, toString
-
Constructor Details
-
DatabasePropertySource
public DatabasePropertySource()
-
-
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
-