public class SessionScope extends Object implements com.google.inject.Scope
Constructor and Description |
---|
SessionScope() |
Modifier and Type | Method and Description |
---|---|
void |
enter() |
void |
exit() |
<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) |
<T> void |
seed(Class<T> clazz,
T value) |
static <T> com.google.inject.Provider<T> |
seededKeyProvider() |
public SessionScope()
public void enter()
public void exit()
public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped)
scope
in interface com.google.inject.Scope
public static <T> com.google.inject.Provider<T> seededKeyProvider()
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.