public interface ModuleActivator
Modifier and Type | Method and Description |
---|---|
Object |
activate()
Activate a Module.
|
void |
deactivate()
Deactivate a Module.
|
ModuleActivator |
dependentModuleActivator(Module dependentModule)
Obtain a ModuleActivator that is responsible for activating a dependent Module.
|
Module |
getModule()
Obtain the Module that we can activate.
|
Module getModule()
Object activate() throws ModuleActivationException
ModuleActivationException
- throws if the Module could not be activatedvoid deactivate() throws ModuleDeactivationException
ModuleDeactivationException
- throws if the Module could not be deactivatedModuleActivator dependentModuleActivator(Module dependentModule)
dependentModule
- the dependent Module to activateCopyright © 2018. All rights reserved.