Package com.google.inject.name
Class Names
java.lang.Object
com.google.inject.name.Names
Utility methods for use with
@Named.- Author:
- crazybob@google.com (Bob Lee)
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidbindProperties(Binder binder, Map<String, String> properties) Creates a constant binding to@Named(key)for each entry inproperties.static voidbindProperties(Binder binder, Properties properties) Creates a constant binding to@Named(key)for each property.static NamedCreates aNamedannotation withnameas the value.
-
Method Details