|
||||||||||
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.servlet | Servlet API scopes, bindings and registration; this extension requires guice-servlet-2.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 with parameters of type Scope | |
---|---|
protected void |
PrivateModule.bindScope(Class<? extends Annotation> scopeAnnotation,
Scope 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)
|
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.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 |