Package org.scijava.startup
Interface StartupService
-
- All Superinterfaces:
Comparable<Prioritized>,Contextual,Disposable,HasPluginInfo,Identifiable,Initializable,Locatable,Logged,Prioritized,RichPlugin,SciJavaPlugin,SciJavaService,Service,Versioned
- All Known Implementing Classes:
DefaultStartupService
public interface StartupService extends SciJavaService
Interface for service managing startup operations.- Author:
- Curtis Rueden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddOperation(Runnable r)Adds an operation that will run as soon as the application starts up.voidexecuteOperations()Execute all registered startup operations, in the order they were registered, blocking until complete.-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.Disposable
dispose
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.service.Service
initialize, registerEventHandlers
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
addOperation
void addOperation(Runnable r)
Adds an operation that will run as soon as the application starts up.
-
executeOperations
void executeOperations()
Execute all registered startup operations, in the order they were registered, blocking until complete.
-
-