fr.ird.observe.spi.DbModelHelperApplicationComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-persistence Show documentation
Show all versions of common-persistence Show documentation
ObServe Toolkit Common Persistence module
package fr.ird.observe.spi;
import com.google.auto.service.AutoService;
import fr.ird.observe.spi.mapping.DtoToEntityContextMapping;
import fr.ird.observe.spi.mapping.EntityToDtoClassMapping;
import io.ultreia.java4all.application.context.ApplicationComponent;
import io.ultreia.java4all.application.context.ApplicationComponentSupplier;
import io.ultreia.java4all.application.context.ApplicationContext;
import io.ultreia.java4all.application.context.spi.ApplicationComponentInstantiateStrategy;
import javax.annotation.Generated;
@AutoService(value = ApplicationComponent.class)
@Generated(value = "io.ultreia.java4all.application.context.spi.GenerateApplicationComponentProcessor", date = "Mon Apr 13 17:22:53 UTC 2020")
public class DbModelHelperApplicationComponent extends ApplicationComponent {
public static ApplicationComponentSupplier INSTANCE = ApplicationContext.componentSupplier(DbModelHelper.class, DbModelHelperApplicationComponent.class);
public static DbModelHelperApplicationComponent component() {
return INSTANCE.get();
}
public static DbModelHelper value() {
return component().get();
}
public DbModelHelperApplicationComponent() {
super("Persistence Model Helper", DbModelHelper.class,true, ApplicationComponentInstantiateStrategy.CONSTRUCTOR,new Class[]{},new Class[]{DtoToEntityContextMapping.class, EntityToDtoClassMapping.class});
}
}