com.google.gwt.inject.client.assistedinject
Class FactoryModule<F>
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryModule
public FactoryModule(java.util.Map<Key<?>,TypeLiteral<?>> bindings,
Key<F> factoryType,
java.lang.Object source)
getFactoryType
public Key<F> getFactoryType()
getBindings
public java.util.Map<Key<?>,TypeLiteral<?>> getBindings()
getSource
public java.lang.String getSource()
- Returns the source location of the factory module's declaration.
configure
public void configure(GinBinder binder)
- Description copied from interface:
GinModule
- Contributes bindings and other configurations for this module to
binder
.
- Specified by:
configure
in interface GinModule