|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.ContainerBuilder.ConstantBindingBuilder
public class ContainerBuilder.ConstantBindingBuilder
Builds a constant binding.
Method Summary | ||
---|---|---|
Binding<?> |
createBinding(com.google.inject.ContainerImpl container)
|
|
void |
to(boolean value)
Binds constant to the given value. |
|
void |
to(char value)
Binds constant to the given value. |
|
void |
to(java.lang.Class<?> value)
Binds constant to the given value. |
|
void |
to(double value)
Binds constant to the given value. |
|
|
to(E value)
Binds constant to the given value. |
|
void |
to(float value)
Binds constant to the given value. |
|
void |
to(int value)
Binds constant to the given value. |
|
void |
to(long value)
Binds constant to the given value. |
|
void |
to(short value)
Binds constant to the given value. |
|
void |
to(java.lang.String value)
Binds constant to the given value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void to(java.lang.String value)
public void to(int value)
public void to(long value)
public void to(boolean value)
public void to(double value)
public void to(float value)
public void to(short value)
public void to(char value)
public void to(java.lang.Class<?> value)
public <E extends java.lang.Enum<E>> void to(E value)
public Binding<?> createBinding(com.google.inject.ContainerImpl container)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |