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

io.paradoxical.dropwizard.guice.InjectorFactory Maven / Gradle / Ivy

Go to download

Simple library for using Guice DI in a dropwizard service forked from hubspot/dropwizard-guice.

There is a newer version: 1.0.0-rc3
Show newest version
package io.paradoxical.dropwizard.guice;

import java.util.List;

import com.google.inject.Injector;
import com.google.inject.Module;
import com.google.inject.Stage;

/**
 * Factory to create Guice Injector with supplied Stage and List of Modules.
 *
 * Idea behind separating this out is to enable integrating applications to
 * use alternate Guice factories like, - Mycila
 * (https://code.google.com/p/mycila/), - Governator
 * (https://github.com/Netflix/governator)
 */
public interface InjectorFactory {
    Injector create(final Stage stage, final List modules);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy