roboguice.inject
Class ViewListener

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

@Singleton
public class ViewListener
extends Object
implements com.google.inject.spi.TypeListener


Nested Class Summary
static class ViewListener.ViewMembersInjector<T>
          This class gets twice as many providers as necessary to do its job, look into optimizations in the future if this is a bottleneck
 
Field Summary
protected static Class fragmentClass
           
protected static Method fragmentFindFragmentByIdMethod
           
protected static Method fragmentFindFragmentByTagMethod
           
protected static Method fragmentGetViewMethod
           
protected static Class fragmentManagerClass
           
 
Constructor Summary
ViewListener()
           
 
Method Summary
<I> void
hear(com.google.inject.TypeLiteral<I> typeLiteral, com.google.inject.spi.TypeEncounter<I> typeEncounter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fragmentClass

protected static Class fragmentClass

fragmentManagerClass

protected static Class fragmentManagerClass

fragmentGetViewMethod

protected static Method fragmentGetViewMethod

fragmentFindFragmentByIdMethod

protected static Method fragmentFindFragmentByIdMethod

fragmentFindFragmentByTagMethod

protected static Method fragmentFindFragmentByTagMethod
Constructor Detail

ViewListener

public ViewListener()
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


Copyright © 2012. All Rights Reserved.