| Package | Description |
|---|---|
| org.elasticsearch.common.inject.internal |
Guice (sounds like like "juice")
|
| org.elasticsearch.common.inject.spi |
Guice service provider interface
|
| Modifier and Type | Method and Description |
|---|---|
Set<InjectionPoint> |
InstanceBindingImpl.getInjectionPoints() |
Set<InjectionPoint> |
ProviderInstanceBindingImpl.getInjectionPoints() |
| Modifier and Type | Method and Description |
|---|---|
static void |
Errors.formatInjectionPoint(Formatter formatter,
Dependency<?> dependency,
InjectionPoint injectionPoint) |
| Constructor and Description |
|---|
InstanceBindingImpl(Injector injector,
Key<T> key,
Object source,
InternalFactory<? extends T> internalFactory,
Set<InjectionPoint> injectionPoints,
T instance) |
InstanceBindingImpl(Object source,
Key<T> key,
Scoping scoping,
Set<InjectionPoint> injectionPoints,
T instance) |
ProviderInstanceBindingImpl(Injector injector,
Key<T> key,
Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Provider<? extends T> providerInstance,
Set<InjectionPoint> injectionPoints) |
ProviderInstanceBindingImpl(Object source,
Key<T> key,
Scoping scoping,
Set<InjectionPoint> injectionPoints,
Provider<? extends T> providerInstance) |
| Modifier and Type | Method and Description |
|---|---|
static InjectionPoint |
InjectionPoint.forConstructorOf(Class<?> type)
Returns a new injection point for the injectable constructor of
type. |
static InjectionPoint |
InjectionPoint.forConstructorOf(TypeLiteral<?> type)
Returns a new injection point for the injectable constructor of
type. |
InjectionPoint |
ConstructorBinding.getConstructor()
Gets the constructor this binding injects.
|
InjectionPoint |
Dependency.getInjectionPoint()
Returns the injection point to which this dependency belongs, or null if this dependency isn't
attached to a particular injection point.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<InjectionPoint> |
InjectionPoint.forInstanceMethodsAndFields(Class<?> type)
Returns all instance method and field injection points on
type. |
static Set<InjectionPoint> |
InjectionPoint.forInstanceMethodsAndFields(TypeLiteral<?> type)
Returns all instance method and field injection points on
type. |
static Set<InjectionPoint> |
InjectionPoint.forStaticMethodsAndFields(Class<?> type)
Returns all static method and field injection points on
type. |
static Set<InjectionPoint> |
InjectionPoint.forStaticMethodsAndFields(TypeLiteral type)
Returns all static method and field injection points on
type. |
Set<InjectionPoint> |
ConstructorBinding.getInjectableMembers()
Returns all instance method and field injection points on
type. |
Set<InjectionPoint> |
InjectionRequest.getInjectionPoints()
Returns the instance methods and fields of
instance that will be injected to fulfill
this request. |
Set<InjectionPoint> |
ProviderInstanceBinding.getInjectionPoints()
Returns the field and method injection points of the provider, injected at injector-creation
time only.
|
Set<InjectionPoint> |
InstanceBinding.getInjectionPoints()
Returns the field and method injection points of the instance, injected at injector-creation
time only.
|
Set<InjectionPoint> |
StaticInjectionRequest.getInjectionPoints()
Returns the static methods and fields of
type that will be injected to fulfill this
request. |
| Modifier and Type | Method and Description |
|---|---|
static Set<Dependency<?>> |
Dependency.forInjectionPoints(Set<InjectionPoint> injectionPoints)
Returns the dependencies from the given injection points.
|
Copyright © 2009–2017. All rights reserved.