Class SessionScope

java.lang.Object
org.apache.maven.impl.di.SessionScope
org.apache.maven.session.scope.internal.SessionScope
All Implemented Interfaces:
com.google.inject.Scope, org.apache.maven.di.Scope

public class SessionScope extends org.apache.maven.impl.di.SessionScope implements com.google.inject.Scope
SessionScope
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.maven.impl.di.SessionScope

    org.apache.maven.impl.di.SessionScope.CachingProvider<T>, org.apache.maven.impl.di.SessionScope.ScopeState
  • Field Summary

    Fields inherited from class org.apache.maven.impl.di.SessionScope

    values
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    isTypeAnnotation(Class<? extends Annotation> annotationType)
     
    <T> com.google.inject.Provider<T>
    scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped)
     
    <T> void
    seed(Class<T> clazz, com.google.inject.Provider<T> value)
     
    static <T> com.google.inject.Provider<T>
    seededKeyProvider(Class<? extends T> clazz)
     

    Methods inherited from class org.apache.maven.impl.di.SessionScope

    createProxy, dispatch, enter, exit, getInterfaces, getScopeState, scope, seed, seed, seededKeySupplier

    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 Details

    • SessionScope

      public SessionScope()
  • Method Details

    • seed

      public <T> void seed(Class<T> clazz, com.google.inject.Provider<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(Class<? extends T> clazz)
    • isTypeAnnotation

      protected boolean isTypeAnnotation(Class<? extends Annotation> annotationType)
      Overrides:
      isTypeAnnotation in class org.apache.maven.impl.di.SessionScope