Class ContextScope<Ctx extends ServerSideContext<Ctx>>

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

    public class ContextScope<Ctx extends ServerSideContext<Ctx>>
    extends Object
    implements com.google.inject.Scope
    Scopes objects to a call context obtained from the associated ContextTracker.
    • Method Detail

      • getName

        public String getName()
      • 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
      • toString

        public String toString()
        Specified by:
        toString in interface com.google.inject.Scope
        Overrides:
        toString in class Object