Class InjectorShell.LoggerFactory

  • All Implemented Interfaces:
    InternalFactory<java.util.logging.Logger>, Provider<java.util.logging.Logger>, javax.inject.Provider<java.util.logging.Logger>
    Enclosing class:
    InjectorShell

    private static class InjectorShell.LoggerFactory
    extends java.lang.Object
    implements InternalFactory<java.util.logging.Logger>, Provider<java.util.logging.Logger>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LoggerFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.logging.Logger get()
      Provides an instance of T.
      java.util.logging.Logger get​(InternalContext context, Dependency<?> dependency, boolean linked)
      Creates an object to be injected.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • LoggerFactory

        private LoggerFactory()
    • Method Detail

      • get

        public java.util.logging.Logger get​(InternalContext context,
                                            Dependency<?> dependency,
                                            boolean linked)
        Description copied from interface: InternalFactory
        Creates an object to be injected.
        Specified by:
        get in interface InternalFactory<java.util.logging.Logger>
        Parameters:
        context - of this injection
        linked - true if getting as a result of a linked binding
        Returns:
        instance that was created
      • get

        public java.util.logging.Logger get()
        Description copied from interface: Provider
        Provides an instance of T.
        Specified by:
        get in interface Provider<java.util.logging.Logger>
        Specified by:
        get in interface javax.inject.Provider<java.util.logging.Logger>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object