Class SessionScope

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

    public class SessionScope
    extends java.lang.Object
    implements com.google.inject.Scope
    SessionScope
    • Constructor Summary

      Constructors 
      Constructor Description
      SessionScope()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void enter()  
      void exit()  
      protected SessionScope.ScopeState getScopeState()  
      <T> com.google.inject.Provider<T> scope​(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped)  
      <T> void seed​(java.lang.Class<T> clazz, com.google.inject.Provider<T> value)  
      <T> void seed​(java.lang.Class<T> clazz, T value)  
      static <T> com.google.inject.Provider<T> seededKeyProvider()  
      • 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.Scope

        toString
    • Constructor Detail

      • SessionScope

        public SessionScope()
    • Method Detail

      • enter

        public void enter()
      • exit

        public void exit()
      • seed

        public <T> void seed​(java.lang.Class<T> clazz,
                             com.google.inject.Provider<T> value)
      • seed

        public <T> void seed​(java.lang.Class<T> clazz,
                             T value)
      • scope

        public <T> com.google.inject.Provider<T> scope​(com.google.inject.Key<T> key,
                                                       com.google.inject.Provider<T> unscoped)
        Specified by:
        scope in interface com.google.inject.Scope
      • seededKeyProvider

        public static <T> com.google.inject.Provider<T> seededKeyProvider()