Created
May 4, 2012 17:49
-
-
Save krisskross/2596497 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Config(desc = "User database.") | |
public class Database { | |
@Id(desc = "Identification of database.") | |
private String id; | |
@Config(desc = "Address for connecting to database.") | |
private URL url; | |
// username with default value 'test' | |
@Config(desc = "Username for connecting to database.") | |
private String username = "test"; | |
// password with default value 'test' | |
@Config(desc = "Password for connecting to database.") | |
private String password = "test"; | |
@Config(desc = "Database connections in pool.") | |
private Integer poolSize; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment