org.apache.geronimo.system.main
Class ProgressBarStartupMonitor

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

public class ProgressBarStartupMonitor
extends Object
implements StartupMonitor

A startup monitor that shows the progress of loading and starting modules using a text based progress bar and the use of line feeds to update the progress display, therefore minimizing the number of lines output to the terminal.

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
ProgressBarStartupMonitor()
           
 
Method Summary
 void calculatePercent()
           
 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

ProgressBarStartupMonitor

public ProgressBarStartupMonitor()
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

calculatePercent

public void calculatePercent()

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.