Package 

Class DataSourcePropertyConfig

    • Method Summary

      Modifier and Type Method Description
      final DataSource getDataSource(@Autowired() File dsPropertyFile, @Value(value = ${url}) String url, @Value(value = ${user}) String user, @Value(value = ${password}) String password, @Value(value = ${driver}) String driver, @Value(value = ${module}) String module, @Value(value = ${type}) String type)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataSourcePropertyConfig

        DataSourcePropertyConfig()
    • Method Detail

      • getDataSource

        @Bean()@ConfigurationProperties(prefix = yakclient.web-utils.config-ds)@ConditionalOnProperty(havingValue = true, matchIfMissing = false, value = {yakclient.web-utils.enable-config-ds}) final DataSource getDataSource(@Autowired() File dsPropertyFile, @Value(value = ${url}) String url, @Value(value = ${user}) String user, @Value(value = ${password}) String password, @Value(value = ${driver}) String driver, @Value(value = ${module}) String module, @Value(value = ${type}) String type)