|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Module
A module encapsulates optional functionality within a project. Modules can be used as an easy way to make projects more configurable.
The module system provides a controled way to check dependencies and to initialize the modules in a controlled way.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.jfree.base.modules.ModuleInfo |
|---|
getMajorVersion, getMinorVersion, getModuleClass, getPatchLevel |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||