com.google.gwt.inject.client.assistedinject
Class FactoryModule<F>

java.lang.Object
  extended by com.google.gwt.inject.client.assistedinject.FactoryModule<F>
All Implemented Interfaces:
GinModule

public class FactoryModule<F>
extends java.lang.Object
implements GinModule

For internal Gin use only. Fake module that transports assisted inject information from user-defined modules to the bindings processor.


Constructor Summary
FactoryModule(java.util.Map<Key<?>,TypeLiteral<?>> bindings, Key<F> factoryType)
           
 
Method Summary
 void configure(GinBinder binder)
           
 java.util.Map<Key<?>,TypeLiteral<?>> getBindings()
           
 Key<F> getFactoryType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryModule

public FactoryModule(java.util.Map<Key<?>,TypeLiteral<?>> bindings,
                     Key<F> factoryType)
Method Detail

getFactoryType

public Key<F> getFactoryType()

getBindings

public java.util.Map<Key<?>,TypeLiteral<?>> getBindings()

configure

public void configure(GinBinder binder)
Specified by:
configure in interface GinModule