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

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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy