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

com.base4j.mybatis.config.datasource.DynamicDataSourceProperties Maven / Gradle / Ivy

The newest version!
package com.base4j.mybatis.config.datasource;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/**
 * Created by [huangjun] on 2017-07-25.
 */
@Configuration
@ConfigurationProperties(prefix = "dynamic")
public class DynamicDataSourceProperties {

    private Map> datasource;

    public Map> getDatasource() {
        return datasource;
    }

    public void setDatasource(Map> datasource) {
        this.datasource = datasource;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy