org.apache.geronimo.system.main
Class LongStartupMonitor

java.lang.Object
  extended by org.apache.geronimo.system.main.LongStartupMonitor
All Implemented Interfaces:
StartupMonitor

public class LongStartupMonitor
extends Object
implements StartupMonitor

A startup monitor that shows the progress of loading and starting modules, outputing a new line for each module started showing the time taken to start the module along with the moduleId.

This startup monitor produces more lines of output than the ProgressBarStartupMonitor but its output is suitable for redirection to a file or for when Geronimo is running under an IDE or other tool.

A summary will also be produced containing a list of ports Geronimo is listening on, the configIds of application modules that were started and the URLs of Web applications that were started.


Constructor Summary
LongStartupMonitor()
           
 
Method Summary
 void foundModules(Artifact[] modules)
           
 void moduleLoaded(Artifact module)
           
 void moduleLoading(Artifact module)
           
 void moduleStarted(Artifact module)
           
 void moduleStarting(Artifact module)
           
 void serverStartFailed(Exception problem)
           
 void startupFinished()
           
 void systemStarted(Kernel kernel)
           
 void systemStarting(long startTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongStartupMonitor

public LongStartupMonitor()
Method Detail

systemStarting

public void systemStarting(long startTime)
Specified by:
systemStarting in interface StartupMonitor

systemStarted

public void systemStarted(Kernel kernel)
Specified by:
systemStarted in interface StartupMonitor

foundModules

public void foundModules(Artifact[] modules)
Specified by:
foundModules in interface StartupMonitor

moduleLoading

public void moduleLoading(Artifact module)
Specified by:
moduleLoading in interface StartupMonitor

moduleLoaded

public void moduleLoaded(Artifact module)
Specified by:
moduleLoaded in interface StartupMonitor

moduleStarting

public void moduleStarting(Artifact module)
Specified by:
moduleStarting in interface StartupMonitor

moduleStarted

public void moduleStarted(Artifact module)
Specified by:
moduleStarted in interface StartupMonitor

startupFinished

public void startupFinished()
Specified by:
startupFinished in interface StartupMonitor

serverStartFailed

public void serverStartFailed(Exception problem)
Specified by:
serverStartFailed in interface StartupMonitor


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.