Class SessionScope
java.lang.Object
org.apache.maven.session.scope.internal.SessionScope
- All Implemented Interfaces:
com.google.inject.Scope
SessionScope
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classA provider wrapping an existing provider with a cacheprotected static final classScopeState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenter()voidexit()protected SessionScope.ScopeState<T> com.google.inject.Provider<T>scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped) <T> void<T> voidstatic <T> com.google.inject.Provider<T>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.inject.Scope
toString
-
Constructor Details
-
SessionScope
public SessionScope()
-
-
Method Details
-
enter
public void enter() -
getScopeState
-
exit
public void exit() -
seed
-
seed
-
scope
public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped) - Specified by:
scopein interfacecom.google.inject.Scope
-
seededKeyProvider
public static <T> com.google.inject.Provider<T> seededKeyProvider()
-