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, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public void addOperation(Runnable operation)
StartupService
addOperation
in interface StartupService
public void executeOperations()
StartupService
executeOperations
in interface StartupService
Copyright © 2015–2022 SciJava. All rights reserved.