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

com.devskiller.jfairy.data.DataMasterModule Maven / Gradle / Ivy

There is a newer version: 0.6.5
Show newest version
package com.devskiller.jfairy.data;

import com.google.inject.AbstractModule;
import com.google.inject.Inject;

import com.devskiller.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