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

fr.ird.observe.spi.DbModelHelperApplicationComponent Maven / Gradle / Ivy

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 = "Tue May 12 13:44:00 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});
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy