Class SessionScope

java.lang.Object
org.apache.maven.internal.impl.di.SessionScope
All Implemented Interfaces:
Scope
Direct Known Subclasses:
SessionScope

public class SessionScope extends Object implements Scope
  • Field Details

  • Constructor Details

    • SessionScope

      public SessionScope()
  • Method Details

    • enter

      public void enter()
    • getScopeState

      protected SessionScope.ScopeState getScopeState()
    • exit

      public void exit()
    • seed

      public <T> void seed(Class<T> clazz, Supplier<T> value)
    • seed

      public <T> void seed(Class<T> clazz, T value)
    • scope

      public <T> Supplier<T> scope(Key<T> key, Supplier<T> unscoped)
      Specified by:
      scope in interface Scope
    • createProxy

      protected <T> T createProxy(Key<T> key, Supplier<T> unscoped)
    • dispatch

      protected <T> Object dispatch(Key<T> key, Supplier<T> unscoped, Method method, Object[] args) throws Throwable
      Throws:
      Throwable
    • getInterfaces

      protected Class<?>[] getInterfaces(Class<?> superType)
    • isTypeAnnotation

      protected boolean isTypeAnnotation(Class<? extends Annotation> annotationType)
    • seededKeySupplier

      public static <T> Supplier<T> seededKeySupplier(Class<? extends T> clazz)