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

com.maxplus1.db.starter.config.Const Maven / Gradle / Ivy

The newest version!
package com.maxplus1.db.starter.config;

public class Const {
    public enum BEAN_SUFFIX{
        TransactionManager("TransactionManager"),
        DataSource("DataSource"),
        SqlSessionFactory("SqlSessionFactory"),
        MyBatisConfiguration("MyBatisConfiguration"),
        SqlSessionTemplate("SqlSessionTemplate"),
        SqlSessionFactoryBean("SqlSessionFactoryBean"),
        MapperScannerConfigurer("MapperScannerConfigurer"),
        PageInterceptor("PageInterceptor"),
        ;

        private String val;
        BEAN_SUFFIX(String val) {
            this.val = val;
        }

        public String val() {
            return val;
        }
    }


    public enum PROP_PREFIX{
        MyBatis("spring.maxplus1.mybatis.data-sources"),
        MyBatisPageHelper("spring.maxplus1.pagehelper.data-sources"),
        Druid("spring.maxplus1.druid.data-sources"),
        MyBatisCommon("spring.maxplus1.mybatis"),
        ;

        private String val;
        PROP_PREFIX(String val) {
            this.val = val;
        }

        public String val() {
            return val;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy