|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbiz.junginger.modules.util.AbstractModule
biz.junginger.modules.examples.FrameModule
Example Module.
Subject to the MyModules Software Licence (based on the Apache Software License).
Copyright (c) 2003 Markus Oliver Junginger. All rights reserved.
http://www.junginger.biz
| Constructor Summary | |
FrameModule()
|
|
| Method Summary | |
javax.swing.JFrame |
getJFrame()
|
void |
moduleDestroy()
Destroys the module. The module should free all resources. The module will not be used after this call. |
void |
modulePrepare(java.util.Properties properties)
Initialization phase ONE of the module. Its individual dependencies ARE NOT met. To support multi-threading more efficiently, the module can prepare itself as much as possible at this point. |
void |
moduleStart()
The module should activate itself if nessesary (depending on the application only few modules have to be started). All Modules are already initialized when calling this method. |
| Methods inherited from class biz.junginger.modules.util.AbstractModule |
moduleInit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FrameModule()
| Method Detail |
public void modulePrepare(java.util.Properties properties)
throws java.lang.Exception
AbstractModule
modulePrepare in interface ModulemodulePrepare in class AbstractModulejava.lang.ExceptionModule.modulePrepare(java.util.Properties)
public void moduleStart()
throws java.lang.Exception
AbstractModule
moduleStart in interface ModulemoduleStart in class AbstractModulejava.lang.ExceptionModule.moduleStart()public javax.swing.JFrame getJFrame()
public void moduleDestroy()
AbstractModule
moduleDestroy in interface ModulemoduleDestroy in class AbstractModuleModule.moduleDestroy()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||