Class InjectorProvider

  • All Implemented Interfaces:
    javax.inject.Provider<com.google.inject.Injector>

    public class InjectorProvider
    extends java.lang.Object
    implements javax.inject.Provider<com.google.inject.Injector>
    Lazy injector provider. Used internally instead of direct injector reference when injector is not constructed yet. It is not registered in guice context and used purely as lazy reference to injector during startup (in jersey bindings logic).
    Since:
    19.04.2015
    See Also:
    InjectorLookup
    • Constructor Summary

      Constructors 
      Constructor Description
      InjectorProvider​(io.dropwizard.Application application)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.inject.Injector get()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InjectorProvider

        public InjectorProvider​(io.dropwizard.Application application)
    • Method Detail

      • get

        public com.google.inject.Injector get()
        Specified by:
        get in interface javax.inject.Provider<com.google.inject.Injector>