roboguice.inject
Class ContextScopedRoboInjector
java.lang.Object
roboguice.inject.ContextScopedRoboInjector
- All Implemented Interfaces:
- com.google.inject.Injector, RoboInjector
public class ContextScopedRoboInjector
- extends Object
- implements RoboInjector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected com.google.inject.Injector delegate
context
protected android.content.Context context
scope
protected ContextScope scope
viewListener
protected ViewListener viewListener
ContextScopedRoboInjector
public ContextScopedRoboInjector(android.content.Context context,
com.google.inject.Injector applicationInjector,
ViewListener viewListener)
createChildInjector
public com.google.inject.Injector createChildInjector(Iterable<? extends com.google.inject.Module> modules)
- Specified by:
createChildInjector
in interface com.google.inject.Injector
createChildInjector
public com.google.inject.Injector createChildInjector(com.google.inject.Module... modules)
- Specified by:
createChildInjector
in interface com.google.inject.Injector
findBindingsByType
public <T> List<com.google.inject.Binding<T>> findBindingsByType(com.google.inject.TypeLiteral<T> type)
- Specified by:
findBindingsByType
in interface com.google.inject.Injector
getAllBindings
public Map<com.google.inject.Key<?>,com.google.inject.Binding<?>> getAllBindings()
- Specified by:
getAllBindings
in interface com.google.inject.Injector
getBinding
public <T> com.google.inject.Binding<T> getBinding(com.google.inject.Key<T> key)
- Specified by:
getBinding
in interface com.google.inject.Injector
getBinding
public <T> com.google.inject.Binding<T> getBinding(Class<T> type)
- Specified by:
getBinding
in interface com.google.inject.Injector
getBindings
public Map<com.google.inject.Key<?>,com.google.inject.Binding<?>> getBindings()
- Specified by:
getBindings
in interface com.google.inject.Injector
getExistingBinding
public <T> com.google.inject.Binding<T> getExistingBinding(com.google.inject.Key<T> key)
- Specified by:
getExistingBinding
in interface com.google.inject.Injector
getInstance
public <T> T getInstance(com.google.inject.Key<T> key)
- Specified by:
getInstance
in interface com.google.inject.Injector
getInstance
public <T> T getInstance(Class<T> type)
- Specified by:
getInstance
in interface com.google.inject.Injector
getMembersInjector
public <T> com.google.inject.MembersInjector<T> getMembersInjector(Class<T> type)
- Specified by:
getMembersInjector
in interface com.google.inject.Injector
getMembersInjector
public <T> com.google.inject.MembersInjector<T> getMembersInjector(com.google.inject.TypeLiteral<T> typeLiteral)
- Specified by:
getMembersInjector
in interface com.google.inject.Injector
getParent
public com.google.inject.Injector getParent()
- Specified by:
getParent
in interface com.google.inject.Injector
getProvider
public <T> com.google.inject.Provider<T> getProvider(com.google.inject.Key<T> key)
- Specified by:
getProvider
in interface com.google.inject.Injector
getProvider
public <T> com.google.inject.Provider<T> getProvider(Class<T> type)
- Specified by:
getProvider
in interface com.google.inject.Injector
getScopeBindings
public Map<Class<? extends Annotation>,com.google.inject.Scope> getScopeBindings()
- Specified by:
getScopeBindings
in interface com.google.inject.Injector
getTypeConverterBindings
public Set<com.google.inject.spi.TypeConverterBinding> getTypeConverterBindings()
- Specified by:
getTypeConverterBindings
in interface com.google.inject.Injector
injectMembers
public void injectMembers(Object instance)
- Specified by:
injectMembers
in interface com.google.inject.Injector
injectMembersWithoutViews
public void injectMembersWithoutViews(Object instance)
- Specified by:
injectMembersWithoutViews
in interface RoboInjector
injectViewMembers
public void injectViewMembers(android.app.Activity activity)
- Specified by:
injectViewMembers
in interface RoboInjector
injectViewMembers
public void injectViewMembers(android.support.v4.app.Fragment fragment)
- Specified by:
injectViewMembers
in interface RoboInjector
Copyright © 2012. All Rights Reserved.