io.mstream.trader.commons.validation.parameter.ParameterModule Maven / Gradle / Ivy
The newest version!
package io.mstream.trader.commons.validation.parameter;
import com.google.inject.AbstractModule;
import com.google.inject.Scopes;
public class ParameterModule extends AbstractModule {
@Override
protected void configure() {
bind(LocalDateValidatorFactory.class)
.in(Scopes.SINGLETON);
bind(RequiredParameterValidator.class)
.in(Scopes.SINGLETON);
}
}