Class Names
java.lang.Object
org.opensearch.common.inject.name.Names
Utility methods for use with
@
Named
.- Opensearch.internal:
-
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