public class DefaultStartupMonitor extends Object implements StartupMonitor
| Constructor and Description |
|---|
DefaultStartupMonitor(Runnable splashHandler)
Create a new startup monitor using the given splash handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applicationRunning()
This method is called by the platform from the primary thread once the application is completely
initialized and running.
|
void |
update()
Update the monitor.
|
public DefaultStartupMonitor(Runnable splashHandler) throws IllegalStateException
splashHandler - IllegalStateExceptionpublic void update()
StartupMonitorIf multiple monitors are registered then the platform will only call the monitor with the highest service ranking. In case of a service ranking tie the service with the lowest service id is selected (i.e. the first monitor registered).
update in interface StartupMonitorpublic void applicationRunning()
StartupMonitorIf multiple monitors are registered then the platform will call all monitors. The monitors are called according to service ranking; monitors with higher service rankings are called first. In case of a service ranking tie the service with the lowest service id is called first (i.e. the first monitor registered).
applicationRunning in interface StartupMonitorCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.