com.sagframe.sagacity.sqltoy.plus.SqlToyPlusConfiguration Maven / Gradle / Ivy
package com.sagframe.sagacity.sqltoy.plus;
import com.sagframe.sagacity.sqltoy.plus.dao.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class SqlToyPlusConfiguration {
@Bean
public SqlToySinFiledMappingStrategy getSqlToySinFiledMappingStrategy() {
return new SqlToySinFiledMappingStrategy();
}
@Bean
public SqlToyMultiFiledMappingStrategy getSqlToyMultiFiledMappingStrategy() {
return new SqlToyMultiFiledMappingStrategy();
}
@Bean
public SqlToyEntityMetaCache getSqlToyEntityMetaCache() {
return new SqlToyEntityMetaCache();
}
@Bean
public SqlToyHelperDao getSqlToyHelperDao() {
return new SqlToyHelperDaoImpl();
}
}