Package | Description |
---|---|
cn.enaium.cf4m.container | |
cn.enaium.cf4m.service |
Modifier and Type | Method and Description |
---|---|
<T> ModuleProvider |
ModuleContainer.getByClass(java.lang.Class<T> klass) |
ModuleProvider |
ModuleContainer.getByInstance(java.lang.Object instance)
Nullable
|
ModuleProvider |
ModuleContainer.getByName(java.lang.String name)
Nullable
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<ModuleProvider> |
ModuleContainer.getAll()
NotNull
|
java.util.ArrayList<ModuleProvider> |
ModuleContainer.getAllByType(java.lang.String type)
NotNull
|
Modifier and Type | Method and Description |
---|---|
default void |
ModuleService.afterDisable(ModuleProvider moduleProvider)
After module disable
|
default void |
ModuleService.afterEnable(ModuleProvider moduleProvider)
After module enable
|
default void |
ModuleService.beforeDisable(ModuleProvider moduleProvider)
Before module disable
|
default void |
ModuleService.beforeEnable(ModuleProvider moduleProvider)
Before module enable
|