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

org.joinedworkz.spring.boot.SpringBootSetting Maven / Gradle / Ivy

There is a newer version: 1.3.46
Show newest version
package org.joinedworkz.spring.boot;

import org.joinedworkz.common.CommonSetting;
import org.joinedworkz.common.java.DtoCartridge;
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.common.strategies.TableNameStrategy;
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;
import org.joinedworkz.spring.boot.strategies.SpringBootTableNameStrategy;

public class SpringBootSetting extends CommonSetting {

	public SpringBootSetting(ClassLoader projectClassLoader) {
		super(projectClassLoader);
	}
	
	public void configure() {
		super.configure();
		
		bind(DtoCartridge.class).to(SpringBootDtoCartridge.class);
		bind(JavaTypeStrategy.class).to(SpringBootJavaTypeStrategy.class);
		bind(DtoClassGenerator.class).to(SpringBootDtoClassGenerator.class);
		bind(DtoFieldNameStrategy.class).to(SpringBootDtoFieldNameStrategy.class);
		bind(ClassGeneratorHelper.class).to(SpringBootClassGeneratorHelper.class);
		bind(TableNameStrategy.class).to(SpringBootTableNameStrategy.class);
		
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy