All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xblackcat.sjpu.storage.connection.DBConfig Maven / Gradle / Ivy

Go to download

Service for generating DB access logic in simple way via interfaces and annotations

There is a newer version: 2.0
Show newest version
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