public class DefaultStartupService extends AbstractService implements StartupService
StartupService.| Constructor and Description |
|---|
DefaultStartupService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(Runnable operation)
Adds an operation that will run as soon as the application starts up.
|
void |
executeOperations()
Execute all registered startup operations, in the order they were
registered, blocking until complete.
|
getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic void addOperation(Runnable operation)
StartupServiceaddOperation in interface StartupServicepublic void executeOperations()
StartupServiceexecuteOperations in interface StartupServiceCopyright © 2015–2022 SciJava. All rights reserved.