biz.junginger.modules
Class AbstractModule

java.lang.Object
  extended bybiz.junginger.modules.AbstractModule
All Implemented Interfaces:
Module
Direct Known Subclasses:
FrameModule, GUIModule, LabelModule

public abstract class AbstractModule
extends java.lang.Object
implements Module

Implements all methods of Module with an empty body. Application modules can extend this class and overwrite only the required methods.

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
AbstractModule()
           
 
Method Summary
 void moduleInit(java.util.Map modules)
          Initialization phase TWO the module. Dependencies ARE met.
 void modulePrepare(java.util.Properties properties)
          Initialization phase ONE of the module. Dependencies ARE NOT met yet.
 void moduleShutdown()
          
 void moduleStart()
          All Modules are initialized. Now, the module can activate itself if nessesary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractModule

public AbstractModule()
Method Detail

modulePrepare

public void modulePrepare(java.util.Properties properties)
                   throws java.lang.Exception
Initialization phase ONE of the module. Dependencies ARE NOT met yet.

Specified by:
modulePrepare in interface Module
Throws:
java.lang.Exception

moduleInit

public void moduleInit(java.util.Map modules)
                throws java.lang.Exception
Initialization phase TWO the module. Dependencies ARE met.

Specified by:
moduleInit in interface Module
Throws:
java.lang.Exception

moduleStart

public void moduleStart()
                 throws java.lang.Exception
All Modules are initialized. Now, the module can activate itself if nessesary.

Specified by:
moduleStart in interface Module
Throws:
java.lang.Exception

moduleShutdown

public void moduleShutdown()

Specified by:
moduleShutdown in interface Module