Interface StartupActionFactory

All Superinterfaces:
JmriServiceProviderInterface
All Known Subinterfaces:
StartupActionFactory
All Known Implementing Classes:
AbstractStartupActionFactory, AbstractStartupActionFactory, AnalogClockStartupActionFactory, AppsStartupActionFactory, AutomatTableStartupActionFactory, BeanTableStartupActionFactory, BlockBossStartupActionFactory, ConfigureXmlStartupActionFactory, ConsistToolStartupActionFactory, CtcEditorStartup, CtcRunStartup, DispatcherStartupActionFactory, DualDecoderStartupActionFactory, JmriSRCPStartupActionFactory, JsonServerStartupActionFactory, JythonStartupActionFactory, LcdClockStartupActionFactory, LnMessageStartupActionFactory, LnTcpStartupActionFactory, NixieClockStartupActionFactory, OperationsStartupActionFactory, PanelStartupActionFactory, PowerStartupActionFactory, ResourceBundleStartupActionFactory, RosterFrameStartupActionFactory, RosterStartupActionFactory, SampleConfigStartUpActionFactory, SendPacketStartupActionFactory, ServerStartupActionFactory, SimpleClockStartupActionFactory, SimpleLightCtrlStartupActionFactory, SimpleProgStartupActionFactory, SimpleServerStartupActionFactory, SimpleTurnoutCtrlStartupActionFactory, SpeedometerStartupActionFactory, SymbolicProgStartupActionFactory, TabbedPreferencesActionFactory, ThrottleStartupActionFactory, TimeTableStartup, ToolsStartupActionFactory, TreeControlStartupActionFactory, UsbBrowserStartupActionFactory, VSDecoderCreationStartupActionFactory, WebServerStartupActionFactory, WiThrottleStartupActionFactory

public interface StartupActionFactory
extends JmriServiceProviderInterface
Provide an SPI for registering potential startup actions with the StartupActionsManager.

Instances of this class need to be registered with a ServiceLoader. The best way to register is include a file META-INF/services/jmri.util.startup.StartupActionFactory in the classpath (preferably in a JAR with the action the instance supports). JMRI code uses the ServiceProvider annotation to generate that file.

AbstractStartupActionFactory provides an abstract base class for creating factories that implements most of the boilerplate needed.