ModuleInfo
AbstractModule
public interface Module extends ModuleInfo
Modifier and Type | Method | Description |
---|---|---|
void |
configure(SubSystem subSystem) |
Configures the module.
|
java.lang.String |
getDescription() |
Returns a short description of the modules functionality.
|
java.lang.String |
getName() |
Returns the module name.
|
ModuleInfo[] |
getOptionalModules() |
Returns an array of optional modules.
|
java.lang.String |
getProducer() |
Returns the name of the module producer.
|
ModuleInfo[] |
getRequiredModules() |
Returns an array of all required modules.
|
java.lang.String |
getSubSystem() |
Returns the modules subsystem.
|
void |
initialize(SubSystem subSystem) |
Initializes the module.
|
getMajorVersion, getMinorVersion, getModuleClass, getPatchLevel
ModuleInfo[] getRequiredModules()
ModuleInfo[] getOptionalModules()
void initialize(SubSystem subSystem) throws ModuleInitializeException
subSystem
- the subSystem.ModuleInitializeException
- if an error ocurred while initializing the module.void configure(SubSystem subSystem)
subSystem
- the subSystem.java.lang.String getDescription()
java.lang.String getProducer()
java.lang.String getName()
java.lang.String getSubSystem()