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

com.mageddo.tobby.dagger.DaosProducersBindsModule Maven / Gradle / Ivy

There is a newer version: 2.1.6-alpha
Show newest version
package com.mageddo.tobby.dagger;

import com.mageddo.tobby.LockDAO;
import com.mageddo.tobby.LockDAOGeneric;
import com.mageddo.tobby.ParameterDAO;
import com.mageddo.tobby.ParameterDAOUniversal;
import com.mageddo.tobby.RecordProcessedDAO;
import com.mageddo.tobby.RecordProcessedDAOGeneric;
import com.mageddo.tobby.producer.ProducerEventuallyConsistent;

import dagger.Binds;
import dagger.Module;

@Module
interface DaosProducersBindsModule {

  @Binds
  com.mageddo.tobby.producer.Producer producer(ProducerEventuallyConsistent impl);

  @Binds
  RecordProcessedDAO recordProcessedDAO(RecordProcessedDAOGeneric impl);

  @Binds
  LockDAO lockDAO(LockDAOGeneric impl);

  @Binds
  ParameterDAO parameterDAO(ParameterDAOUniversal impl);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy