org.joinedworkz.spring.boot.SpringBootSetting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot Show documentation
Show all versions of spring-boot Show documentation
DSL based modeling framework - facilities SpringBoot
package org.joinedworkz.spring.boot;
import org.joinedworkz.common.CommonSetting;
import org.joinedworkz.common.java.JavaTypeStrategy;
import org.joinedworkz.common.java.generator.ClassGeneratorHelper;
import org.joinedworkz.common.java.generator.DtoClassGenerator;
import org.joinedworkz.common.strategies.DtoFieldNameStrategy;
import org.joinedworkz.spring.boot.generator.SpringBootDtoClassGenerator;
import org.joinedworkz.spring.boot.helper.SpringBootClassGeneratorHelper;
import org.joinedworkz.spring.boot.strategies.SpringBootDtoFieldNameStrategy;
import org.joinedworkz.spring.boot.strategies.SpringBootJavaTypeStrategy;
public class SpringBootSetting extends CommonSetting {
public SpringBootSetting(ClassLoader projectClassLoader) {
super(projectClassLoader);
}
public void configure() {
super.configure();
bind(JavaTypeStrategy.class).to(SpringBootJavaTypeStrategy.class);
bind(DtoClassGenerator.class).to(SpringBootDtoClassGenerator.class);
bind(DtoFieldNameStrategy.class).to(SpringBootDtoFieldNameStrategy.class);
bind(ClassGeneratorHelper.class).to(SpringBootClassGeneratorHelper.class);
}
}