public class ProviderModule extends MethodBasedModule
| Constructor and Description |
|---|
ProviderModule(Method method,
Object owner) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindToClass(com.google.inject.binder.LinkedBindingBuilder<Object> bind,
Class<?> value) |
protected void |
bindToInstance(com.google.inject.binder.LinkedBindingBuilder<Object> bind,
Object instance) |
Type |
getKeyType() |
protected boolean |
isInstanceOf(Type keyType,
Class<?> class1) |
configure, getFirstTypeParameter, getMethod, getOwner, invokeMethod, isClassBinding, isEager, isSame, isSingleton, throwIllegalReturnTypeDeclarationprotected void bindToInstance(com.google.inject.binder.LinkedBindingBuilder<Object> bind, Object instance)
bindToInstance in class MethodBasedModuleprotected void bindToClass(com.google.inject.binder.LinkedBindingBuilder<Object> bind, Class<?> value)
bindToClass in class MethodBasedModulepublic Type getKeyType()
getKeyType in class MethodBasedModuleCopyright © 2015. All Rights Reserved.