Class SessionScope
java.lang.Object
org.apache.maven.session.scope.internal.SessionScope
- All Implemented Interfaces:
com.google.inject.Scope
SessionScope
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
A provider wrapping an existing provider with a cacheprotected static final class
ScopeState -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enter()
void
exit()
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> void
static <T> com.google.inject.Provider
<T> static <T> com.google.inject.Provider
<T> seededKeyProvider
(Class<? extends T> clazz) 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
-
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:
scope
in interfacecom.google.inject.Scope
-
seededKeyProvider
public static <T> com.google.inject.Provider<T> seededKeyProvider() -
seededKeyProvider
-