Class WireModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public final class WireModule
    extends Object
    implements com.google.inject.Module
    Guice Module that automatically adds BeanLocator-backed bindings for unresolved dependencies.
    • Constructor Detail

      • WireModule

        public WireModule​(com.google.inject.Module... modules)
      • WireModule

        public WireModule​(Iterable<com.google.inject.Module> modules)
    • Method Detail

      • with

        public com.google.inject.Module with​(WireModule.Strategy _strategy)
        Applies a new wiring WireModule.Strategy to the current module.
        Parameters:
        _strategy - The new strategy
        Returns:
        Updated module
      • configure

        public void configure​(com.google.inject.Binder binder)
        Specified by:
        configure in interface com.google.inject.Module