|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.name.Names
public class Names
Utility methods for use with @
Named
.
Method Summary | |
---|---|
static void |
bindProperties(ContainerBuilder builder,
Map<String,String> properties)
Binds a string constant for each property. |
static void |
bindProperties(ContainerBuilder builder,
Properties properties)
Binds a string constant for each property. |
static Named |
named(String name)
Creates a Named annotation with name as the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Named named(String name)
Named
annotation with name
as the value.
public static void bindProperties(ContainerBuilder builder, Map<String,String> properties)
public static void bindProperties(ContainerBuilder builder, Properties properties)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |