Package | Description |
---|---|
org.elasticsearch.common.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
|
org.elasticsearch.common.inject.binder |
Interfaces which make up
Binder 's
expression language. |
org.elasticsearch.common.inject.internal |
Guice (sounds like like "juice")
|
org.elasticsearch.common.inject.spi |
Guice service provider interface
|
Modifier and Type | Field and Description |
---|---|
static Scope |
Scopes.NO_SCOPE
No scope; the same as not applying any scope at all.
|
static Scope |
Scopes.SINGLETON
One instance per
Injector . |
Modifier and Type | Method and Description |
---|---|
void |
Binder.bindScope(Class<? extends Annotation> annotationType,
Scope scope)
Binds a scope to an annotation.
|
protected void |
PrivateModule.bindScope(Class<? extends Annotation> scopeAnnotation,
Scope scope) |
protected void |
AbstractModule.bindScope(Class<? extends Annotation> scopeAnnotation,
Scope scope) |
Modifier and Type | Method and Description |
---|---|
void |
ScopedBindingBuilder.in(Scope scope)
See the EDSL examples at
Binder . |
Modifier and Type | Method and Description |
---|---|
Scope |
Scoping.getScopeInstance()
Returns the scope instance, or
null if that isn't known for this instance. |
Modifier and Type | Method and Description |
---|---|
Errors |
Errors.duplicateScopes(Scope existing,
Class<? extends Annotation> annotationType,
Scope scope) |
static Scoping |
Scoping.forInstance(Scope scope) |
void |
AbstractBindingBuilder.in(Scope scope) |
Modifier and Type | Method and Description |
---|---|
Scope |
ScopeBinding.getScope() |
Modifier and Type | Method and Description |
---|---|
V |
BindingScopingVisitor.visitScope(Scope scope)
Visit a scope instance.
|
V |
DefaultBindingScopingVisitor.visitScope(Scope scope) |
Copyright © 2009–2015. All rights reserved.