Class FactoryProvider2.ThreadLocalProvider

  • All Implemented Interfaces:
    Provider<java.lang.Object>, javax.inject.Provider<java.lang.Object>
    Enclosing class:
    FactoryProvider2<F>

    private static class FactoryProvider2.ThreadLocalProvider
    extends java.lang.ThreadLocal<java.lang.Object>
    implements Provider<java.lang.Object>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ThreadLocalProvider()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object initialValue()  
      • Methods inherited from class java.lang.ThreadLocal

        get, remove, set, withInitial
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.inject.Provider

        get
    • Constructor Detail

      • ThreadLocalProvider

        private ThreadLocalProvider()
    • Method Detail

      • initialValue

        protected java.lang.Object initialValue()
        Overrides:
        initialValue in class java.lang.ThreadLocal<java.lang.Object>