com.sun.enterprise.module
Interface ModuleLifecycleListener


public interface ModuleLifecycleListener

Listener interface that can be registered on the registry to listen to notification of module startup and shutdown. Modules which are interdependent could use this approach to limit the interdependencies of code.

Author:
Jerome Dochez

Method Summary
 void moduleStarted(Module module)
          Callback after a module is started.
 void moduleStopped(Module module)
          Callback after a module is stopped
 

Method Detail

moduleStarted

void moduleStarted(Module module)
Callback after a module is started.

Parameters:
module - the module instance

moduleStopped

void moduleStopped(Module module)
Callback after a module is stopped

Parameters:
module - the module instance


Copyright © 2009 Sun Microsystems, Inc.. All Rights Reserved.