Module org.elasticsearch.server
Package org.elasticsearch.injection.spec
package org.elasticsearch.injection.spec
Objects that describe the means by which an object instance is created for (or associated with) some given type.
The hierarchy is rooted at InjectionSpec
.
Differs from InjectionStep
in that:
-
this describes the requirements, while
InjectionStep
describes the solution -
this is declarative, while
InjectionStep
is imperative
-
ClassDescriptionIndicates that a type should be instantiated by calling the given
MethodHandle
.Captures the pertinent info required to inject one of the arguments of a constructor.