Module org.elasticsearch.server
Interface ElementVisitor<V>
- Type Parameters:
V
- any type to be returned by the visit method. UseVoid
withreturn null
if no return type is needed.
public interface ElementVisitor<V>
Visit elements.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescription<T> V
Visit a mapping from a key (type and optional annotation) to the strategy for getting instances of the type.Visit an error message and the context in which it occurred.<T> V
visit
(ProviderLookup<T> lookup) Visit a lookup of the provider for a type.visit
(ScopeBinding binding) Visit a registration of a scope annotation with the scope that implements it.
-
Method Details
-
visit
Visit a mapping from a key (type and optional annotation) to the strategy for getting instances of the type. -
visit
Visit a registration of a scope annotation with the scope that implements it. -
visit
Visit a lookup of the provider for a type. -
visit
Visit an error message and the context in which it occurred.
-