public final class ModuleProvider extends Object
| Modifier and Type | Method and Description |
|---|---|
static ModuleProvider |
getInstance() |
<T> T |
getModule(Class<T> interfaceImplemented,
String moduleType)
Retrieves a module by its simple name, that implements a particular type T
|
public static ModuleProvider getInstance()
public <T> T getModule(Class<T> interfaceImplemented, String moduleType)
interfaceImplemented - The interface that 'moduleType' implements and that the result should be returned as.moduleType - Represents particular instance of a factory type object e.g. 'ExampleWorkerBuilder'Copyright © 2017. All rights reserved.