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

com.anrisoftware.sscontrol.scripts.versionlimits.VersionLimitsModule Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2014-2015 Erwin Müller 
 *
 * This file is part of sscontrol-scripts-unix.
 *
 * sscontrol-scripts-unix is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Affero General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or (at your
 * option) any later version.
 *
 * sscontrol-scripts-unix is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with sscontrol-scripts-unix. If not, see .
 */
package com.anrisoftware.sscontrol.scripts.versionlimits;

import com.google.inject.AbstractModule;
import com.google.inject.assistedinject.FactoryModuleBuilder;

/**
 * @see CheckVersionLimitFactory
 * @see ReadVersionFactory
 *
 * @author Erwin Mueller, [email protected]
 * @since 1.0
 */
public class VersionLimitsModule extends AbstractModule {

    @Override
    protected void configure() {
        install(new FactoryModuleBuilder().implement(CheckVersionLimit.class,
                CheckVersionLimit.class).build(CheckVersionLimitFactory.class));
        install(new FactoryModuleBuilder().implement(ReadVersion.class,
                ReadVersion.class).build(ReadVersionFactory.class));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy