roboguice.inject
Class PreferenceListener

java.lang.Object
  extended by roboguice.inject.PreferenceListener
All Implemented Interfaces:
com.google.inject.spi.TypeListener, StaticTypeListener

public class PreferenceListener
extends Object
implements StaticTypeListener

Author:
Mike Burton

Field Summary
protected  android.app.Application application
           
protected  com.google.inject.Provider<android.content.Context> contextProvider
           
protected  ContextScope scope
           
 
Constructor Summary
PreferenceListener(com.google.inject.Provider<android.content.Context> contextProvider, android.app.Application application, ContextScope scope)
           
 
Method Summary
<I> void
hear(com.google.inject.TypeLiteral<I> typeLiteral, com.google.inject.spi.TypeEncounter<I> typeEncounter)
           
 void requestStaticInjection(Class<?>... types)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contextProvider

protected com.google.inject.Provider<android.content.Context> contextProvider

application

protected android.app.Application application

scope

protected ContextScope scope
Constructor Detail

PreferenceListener

public PreferenceListener(com.google.inject.Provider<android.content.Context> contextProvider,
                          android.app.Application application,
                          ContextScope scope)
Method Detail

hear

public <I> void hear(com.google.inject.TypeLiteral<I> typeLiteral,
                     com.google.inject.spi.TypeEncounter<I> typeEncounter)
Specified by:
hear in interface com.google.inject.spi.TypeListener

requestStaticInjection

public void requestStaticInjection(Class<?>... types)
Specified by:
requestStaticInjection in interface StaticTypeListener


Copyright © 2011. All Rights Reserved.