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

com.anrisoftware.gsanalysis.synthesis.SynthesisModule Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2015 Erwin Müller 
 *
 * This file is part of gsanalysis-synthesis. All rights reserved.
 */
package com.anrisoftware.gsanalysis.synthesis;

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

/**
 * Installs the synthesis factory.
 *
 * @see SynthesisFactory
 * @see SynthesisFromPositionFactory
 *
 * @author Erwin Mueller, [email protected]
 * @since 3.0
 */
public class SynthesisModule extends AbstractModule {

    @Override
    protected void configure() {
        install(new FactoryModuleBuilder().implement(Synthesis.class,
                Synthesis.class).build(SynthesisFactory.class));
        install(new FactoryModuleBuilder().implement(
                SynthesisFromPosition.class, SynthesisFromPosition.class)
                .build(SynthesisFromPositionFactory.class));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy