Class Names
java.lang.Object
org.elasticsearch.common.inject.name.Names
Utility methods for use with
@
Named
.-
Method Summary
Modifier and TypeMethodDescriptionstatic void
bindProperties(Binder binder, Map<String,String> properties)
Creates a constant binding to@Named(key)
for each entry inproperties
.static void
bindProperties(Binder binder, Properties properties)
Creates a constant binding to@Named(key)
for each property.static Named
Creates aNamed
annotation withname
as the value.
-
Method Details