Class AbstractLifecycle
java.lang.Object
com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
- All Implemented Interfaces:
Lifecycle
- Direct Known Subclasses:
AbstractBinding, AbstractSessionKernel, com.inductiveautomation.ignition.gateway.auth.token.AuthTokenManager, ClientHtmlLoader, ComponentModel, ComponentModelDelegate, EdtWatchdog, FileWatcher, IdpProxyWebServer, MessageHandlerCollection, NamedResourceHandler, PageModel, PerspectiveSessionCollection, PollingBlockingTask, PollingFuture, PropertyReference, ResourceCollectionLifecycle, ResourceCollectionLifecycleFactory, SessionKernelWrapper, SessionStats, SingletonResourceHandler, SystemPropertiesManager, ViewModel
-
Constructor Details
-
AbstractLifecycle
public AbstractLifecycle()
-
-
Method Details
-
startup
public final void startup()Call to start this thing up. The first time this is called,onStartup()will be called. Subsequent invocations will throw anIllegalStateException -
onStartup
protected abstract void onStartup() -
shutdown
-
onShutdown
protected abstract void onShutdown() -
isRunning
public boolean isRunning()- Returns:
- true after
startup()is called and beforeshutdown()is called.
-