Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Read configurations from file
package edu.gatech.epidemics;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
* @author atalati
public class AppConfigBean {
private String db_driver;
private String db_url;
private String db_username;
private String db_password;
private String db_platform;
// getters and setters ...
// toString() override
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment