biz.junginger.modules.examples
Class FrameModule

java.lang.Object
  extended bybiz.junginger.modules.util.AbstractModule
      extended bybiz.junginger.modules.examples.FrameModule
All Implemented Interfaces:
Module

public class FrameModule
extends AbstractModule

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

Version:
$Id: $
Author:
Markus Oliver Junginger

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

FrameModule

public FrameModule()
Method Detail

modulePrepare

public void modulePrepare(java.util.Properties properties)
                   throws java.lang.Exception
Description copied from class: AbstractModule
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.

Specified by:
modulePrepare in interface Module
Overrides:
modulePrepare in class AbstractModule
Throws:
java.lang.Exception
See Also:
Module.modulePrepare(java.util.Properties)

moduleStart

public void moduleStart()
                 throws java.lang.Exception
Description copied from class: AbstractModule
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.

Specified by:
moduleStart in interface Module
Overrides:
moduleStart in class AbstractModule
Throws:
java.lang.Exception
See Also:
Module.moduleStart()

getJFrame

public javax.swing.JFrame getJFrame()

moduleDestroy

public void moduleDestroy()
Description copied from class: AbstractModule
Destroys the module. The module should free all resources. The module will not be used after this call.

Specified by:
moduleDestroy in interface Module
Overrides:
moduleDestroy in class AbstractModule
See Also:
Module.moduleDestroy()