public class BinderCategory extends Object
| Constructor and Description |
|---|
BinderCategory() |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.inject.binder.LinkedBindingBuilder<T> |
named(com.google.inject.binder.AnnotatedBindingBuilder<T> builder,
String name) |
static <T> com.google.inject.binder.ScopedBindingBuilder |
to(Class<T> type,
Class<? extends T> impl) |
static <T> com.google.inject.binder.ScopedBindingBuilder |
to(Class<T> type,
com.google.inject.Provider<? extends T> impl) |
static <T> void |
toInstance(Class<T> type,
T instance) |
public static <T> com.google.inject.binder.ScopedBindingBuilder to(Class<T> type, Class<? extends T> impl)
public static <T> void toInstance(Class<T> type, T instance)
public static <T> com.google.inject.binder.ScopedBindingBuilder to(Class<T> type, com.google.inject.Provider<? extends T> impl)
public static <T> com.google.inject.binder.LinkedBindingBuilder<T> named(com.google.inject.binder.AnnotatedBindingBuilder<T> builder,
String name)
Copyright © 2004-2014. All Rights Reserved.