biz.junginger.modules
Class AbstractRMIModule

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended bybiz.junginger.modules.AbstractRMIModule
All Implemented Interfaces:
Module, java.rmi.Remote, java.io.Serializable

public abstract class AbstractRMIModule
extends java.rmi.server.UnicastRemoteObject
implements Module

Author:
Markus Junginger (c) 2003 by Markus Oliver Junginger. All rights reserved. http://www.junginger.biz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
AbstractRMIModule()
           
 
Method Summary
 void moduleInit(java.util.Map modules)
          Initialization phase TWO the module.
 void modulePrepare(java.util.Properties properties)
          Initialization phase ONE of the module.
 void moduleShutdown()
           
 void moduleStart()
          All Modules are initialized.
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractRMIModule

public AbstractRMIModule()
                  throws java.rmi.RemoteException
Method Detail

modulePrepare

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

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

moduleInit

public void moduleInit(java.util.Map modules)
                throws java.lang.Exception
Description copied from interface: Module
Initialization phase TWO the module. Dependencies ARE met.

Specified by:
moduleInit in interface Module
Throws:
java.lang.Exception
See Also:
Module.moduleInit(java.util.Map)

moduleStart

public void moduleStart()
                 throws java.lang.Exception
Description copied from interface: Module
All Modules are initialized. Now, the module can activate itself if nessesary.

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

moduleShutdown

public void moduleShutdown()
Specified by:
moduleShutdown in interface Module
See Also:
Module.moduleShutdown()