| Constructor and Description |
|---|
FactoryModule(java.util.Map<Key<?>,TypeLiteral<?>> bindings,
Key<F> factoryType,
java.lang.Object source) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(GinBinder binder)
Contributes bindings and other configurations for this module to
binder. |
java.util.Map<Key<?>,TypeLiteral<?>> |
getBindings() |
Key<F> |
getFactoryType() |
java.lang.String |
getSource()
Returns the source location of the factory module's declaration.
|
public FactoryModule(java.util.Map<Key<?>,TypeLiteral<?>> bindings, Key<F> factoryType, java.lang.Object source)
public java.util.Map<Key<?>,TypeLiteral<?>> getBindings()
public java.lang.String getSource()