Package jmri.managers

Class ShutDownManagerInitializer

java.lang.Object
jmri.implementation.AbstractInstanceInitializer
jmri.managers.ShutDownManagerInitializer
All Implemented Interfaces:
InstanceInitializer

public class ShutDownManagerInitializer
extends AbstractInstanceInitializer
An initializer for the ShutDownManager that allows the ShutDownManager to be used to be specified as a Java property.

This InstanceInitializer provides a DefaultShutDownManager unless the name of the class to use as the ShutDownManager is specified in the jmri.shutdownmanager Java System Property. If the property is specified, it must be a complete name of a class that implements jmri.ShutDownManager and has a public default constructor.