io.codearte.jfairy.data.DataMasterModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jfairy Show documentation
Show all versions of jfairy Show documentation
jFairy - Java fake data generator
package io.codearte.jfairy.data;
import com.google.inject.AbstractModule;
import com.google.inject.Inject;
import io.codearte.jfairy.producer.RandomGenerator;
/**
* @author Olga Maciaszek-Sharma
* @since 2015-05-20
*/
public class DataMasterModule extends AbstractModule {
private RandomGenerator randomGenerator;
@Inject
public DataMasterModule(RandomGenerator randomGenerator) {
this.randomGenerator = randomGenerator;
}
@Override
protected void configure() {
bind(RandomGenerator.class).toInstance(randomGenerator);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy