Elasticsearch keys

Binding key consisting of an injection type and an optional annotation. Matches the type and annotation at a point of injection. -> this is comment from elasticsearch code. Is this representation of key from key-value structure? What are key annotations and annotation types please?

Can you link to the code in question?

Sure: https://github.com/elastic/elasticsearch/blob/master/server/src/main/java/org/elasticsearch/common/inject/Key.java

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.