org.apache.geronimo.system.main
Class ProgressBarStartupMonitor
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressBarStartupMonitor
public ProgressBarStartupMonitor()
systemStarting
public void systemStarting(long startTime)
- Specified by:
systemStarting
in interface StartupMonitor
systemStarted
public void systemStarted(org.apache.geronimo.kernel.Kernel kernel)
- Specified by:
systemStarted
in interface StartupMonitor
foundModules
public void foundModules(org.apache.geronimo.kernel.repository.Artifact[] modules)
- Specified by:
foundModules
in interface StartupMonitor
calculatePercent
public void calculatePercent()
moduleLoading
public void moduleLoading(org.apache.geronimo.kernel.repository.Artifact module)
- Specified by:
moduleLoading
in interface StartupMonitor
moduleLoaded
public void moduleLoaded(org.apache.geronimo.kernel.repository.Artifact module)
- Specified by:
moduleLoaded
in interface StartupMonitor
moduleStarting
public void moduleStarting(org.apache.geronimo.kernel.repository.Artifact module)
- Specified by:
moduleStarting
in interface StartupMonitor
moduleStarted
public void moduleStarted(org.apache.geronimo.kernel.repository.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 © 2006 Apache Software Foundation. All Rights Reserved.