public class Robopupu
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected android.app.Application |
application |
protected AppDependencyScope |
appScope |
protected DependenciesCache |
dependenciesCache |
protected LogDelegate |
logDelegate |
Constructor and Description |
---|
Robopupu(AppDependencyScope appScope) |
Modifier and Type | Method and Description |
---|---|
protected DependenciesCache |
createDependencyScopeCache() |
DependenciesCache |
getDependenciesCache() |
static <T extends Robopupu> |
getInstance() |
static void |
plug(java.lang.Class<?>... pluginClasses)
Plugs an instances of given
Class es to the PluginBus . |
protected final android.app.Application application
protected final AppDependencyScope appScope
protected final DependenciesCache dependenciesCache
protected final LogDelegate logDelegate
public Robopupu(AppDependencyScope appScope)
public static void plug(java.lang.Class<?>... pluginClasses)
Class
es to the PluginBus
.pluginClasses
- A variable length list of Class
es.public DependenciesCache getDependenciesCache()
public static <T extends Robopupu> T getInstance()
protected DependenciesCache createDependencyScopeCache()