org.xblackcat.sjpu.storage.connection.DBConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sjpu-dbah Show documentation
Show all versions of sjpu-dbah Show documentation
Service for generating DB access logic in simple way via interfaces and annotations
package org.xblackcat.sjpu.storage.connection;
/**
* 14.04.2014 17:47
*
* @author xBlackCat
*/
public class DBConfig implements IDBConfig {
private final String driver;
private final String url;
private final String user;
private final String password;
private final int poolSize;
public DBConfig(String driver, String url, String user, String password, int poolSize) {
this.driver = driver;
this.url = url;
this.user = user;
this.password = password;
this.poolSize = poolSize;
}
@Override
public String getDriver() {
return driver;
}
@Override
public String getUrl() {
return url;
}
@Override
public String getUser() {
return user;
}
@Override
public String getPassword() {
return password;
}
@Override
public int getPoolSize() {
return poolSize;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy