Module org.elasticsearch.server
Interface ProviderInstanceBinding<T>
- All Known Implementing Classes:
ProviderInstanceBindingImpl
A binding to a provider instance. The provider's
get
method is invoked to resolve
injections.- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the field and method injection points of the provider, injected at injector-creation time only.Returns the user-supplied, unscoped provider.Methods inherited from interface org.elasticsearch.injection.guice.Binding
acceptTargetVisitor, getKey, getProvider
Methods inherited from interface org.elasticsearch.injection.guice.spi.Element
acceptVisitor, getSource
-
Method Details
-
getProviderInstance
Returns the user-supplied, unscoped provider. -
getInjectionPoints
Set<InjectionPoint> getInjectionPoints()Returns the field and method injection points of the provider, injected at injector-creation time only.- Returns:
- a possibly empty set
-