Package | Description |
---|---|
org.elasticsearch.common.inject.assistedinject |
Extension for combining factory interfaces with injection; this extension requires
guice-jndi-2.0.jar . |
org.elasticsearch.common.inject.internal |
Guice (sounds like like "juice")
|
org.elasticsearch.common.inject.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings-2.0.jar . |
org.elasticsearch.common.inject.spi |
Guice service provider interface
|
Modifier and Type | Method and Description |
---|---|
Set<Dependency<?>> |
FactoryProvider.getDependencies() |
Modifier and Type | Method and Description |
---|---|
Dependency |
InternalContext.getDependency() |
Modifier and Type | Method and Description |
---|---|
Set<Dependency<?>> |
ExposedBindingImpl.getDependencies() |
Set<Dependency<?>> |
InstanceBindingImpl.getDependencies() |
Set<Dependency<?>> |
ProviderInstanceBindingImpl.getDependencies() |
Set<Dependency<?>> |
ProviderMethod.getDependencies() |
Modifier and Type | Method and Description |
---|---|
<T> T |
Errors.checkForNull(T value,
Object source,
Dependency<?> dependency)
Returns
value if it is non-null allowed to be null. |
static void |
Errors.formatInjectionPoint(Formatter formatter,
Dependency<?> dependency,
InjectionPoint injectionPoint) |
T |
InternalFactory.get(Errors errors,
InternalContext context,
Dependency<?> dependency)
Creates an object to be injected.
|
T |
InternalFactory.Instance.get(Errors errors,
InternalContext context,
Dependency<?> dependency) |
void |
InternalContext.setDependency(Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
Set<Dependency<?>> |
MapBinder.RealMapBinder.MapBinderProviderWithDependencies.getDependencies() |
Set<Dependency<?>> |
Multibinder.RealMultibinder.getDependencies() |
Modifier and Type | Method and Description |
---|---|
static <T> Dependency<T> |
Dependency.get(Key<T> key)
Returns a new dependency that is not attached to an injection point.
|
Modifier and Type | Method and Description |
---|---|
static Set<Dependency<?>> |
Dependency.forInjectionPoints(Set<InjectionPoint> injectionPoints)
Returns the dependencies from the given injection points.
|
Set<Dependency<?>> |
ConvertedConstantBinding.getDependencies()
Returns a singleton set containing only the converted key.
|
Set<Dependency<?>> |
HasDependencies.getDependencies()
Returns the known dependencies for this type.
|
List<Dependency<?>> |
InjectionPoint.getDependencies()
Returns the dependencies for this injection point.
|
Copyright © 2009–2016. All rights reserved.