Class Names
org.elasticsearch.common.inject.name.Names
public class Names
extends
Utility methods for use with
@
Named
.-
Method Summary
Modifier and TypeMethodDescriptionstatic void
bindProperties(Binder binder, <,> properties)
Creates a constant binding to@Named(key)
for each entry inproperties
.static void
bindProperties(Binder binder, properties)
Creates a constant binding to@Named(key)
for each property.static Named
name)
Creates aNamed
annotation withname
as the value.Methods inherited from class java.lang.
, , , , , , , , , ,
-
Method Details
-
named
public static name)Creates aNamed
annotation withname
as the value. -
bindProperties
Creates a constant binding to@Named(key)
for each entry inproperties
. -
bindProperties
Creates a constant binding to@Named(key)
for each property. This method binds all properties including those inherited from .
-