org.apache.geronimo.system.main
Class LongStartupMonitor
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongStartupMonitor
public LongStartupMonitor()
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
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.