| Modifier and Type | Method and Description |
|---|---|
static void |
bindProperties(Binder
Creates a constant binding to
@Named(key) for each entry in
properties.
|
static void |
bindProperties(Binder
Creates a constant binding to
@Named(key) for each property.
|
static Named |
named(String
Creates a
Named annotation with
name as the value.
|
public static void bindProperties(Binderbinder, Map <String ,String > properties)
@Named(key) for each entry in
properties.
public static void bindProperties(Binderbinder, Properties properties)
@Named(key) for each property. This method binds all properties including those inherited from
defaults.