|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Scope | |
---|---|
com.google.inject | Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. |
com.google.inject.binder | Interfaces which make up Binder 's
expression language. |
com.google.inject.internal | Guice (sounds like like "juice") |
com.google.inject.servlet | Servlet API scopes, bindings and registration; this extension requires guice-servlet-3.0.jar . |
com.google.inject.spi | Guice service provider interface |
Uses of Scope in com.google.inject |
---|
Fields in com.google.inject declared as Scope | |
---|---|
static Scope |
Scopes.NO_SCOPE
No scope; the same as not applying any scope at all. |
static Scope |
Scopes.SINGLETON
One instance per Injector . |
Methods in com.google.inject that return types with arguments of type Scope | |
---|---|
Map<Class<? extends Annotation>,Scope> |
Injector.getScopeBindings()
Returns a map containing all scopes in the injector. |
Methods in com.google.inject with parameters of type Scope | |
---|---|
void |
Binder.bindScope(Class<? extends Annotation> annotationType,
Scope scope)
Binds a scope to an annotation. |
protected void |
AbstractModule.bindScope(Class<? extends Annotation> scopeAnnotation,
Scope scope)
|
protected void |
PrivateModule.bindScope(Class<? extends Annotation> scopeAnnotation,
Scope scope)
|
Uses of Scope in com.google.inject.binder |
---|
Methods in com.google.inject.binder with parameters of type Scope | |
---|---|
void |
ScopedBindingBuilder.in(Scope scope)
See the EDSL examples at Binder . |
Uses of Scope in com.google.inject.internal |
---|
Methods in com.google.inject.internal that return Scope | |
---|---|
Scope |
Scoping.getScopeInstance()
Returns the scope instance, or null if that isn't known for this instance. |
Methods in com.google.inject.internal with parameters of type Scope | |
---|---|
Errors |
Errors.duplicateScopes(Scope existing,
Class<? extends Annotation> annotationType,
Scope scope)
|
static Scoping |
Scoping.forInstance(Scope scope)
|
void |
AbstractBindingBuilder.in(Scope scope)
|
Uses of Scope in com.google.inject.servlet |
---|
Fields in com.google.inject.servlet declared as Scope | |
---|---|
static Scope |
ServletScopes.REQUEST
HTTP servlet request scope. |
static Scope |
ServletScopes.SESSION
HTTP session scope. |
Uses of Scope in com.google.inject.spi |
---|
Methods in com.google.inject.spi that return Scope | |
---|---|
Scope |
ScopeBinding.getScope()
|
Methods in com.google.inject.spi with parameters of type Scope | |
---|---|
V |
DefaultBindingScopingVisitor.visitScope(Scope scope)
|
V |
BindingScopingVisitor.visitScope(Scope scope)
Visit a scope instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |