- All Known Implementing Classes:
- ExecutorLifecycleAdapter, KernelEventHandlers, KernelExtensions, LifecycleAdapter, LifeSupport, LuceneKernelExtension, OnlineBackupKernelExtension, SchemaIndexProvider, StoreLockerLifecycleAdapter, ThreadToStatementContextBridge, TransactionEventHandlers
public interface Lifecycle
Lifecycle interface for kernel components. Init is called first,
followed by start,
and then any number of stop-start sequences,
and finally stop and shutdown.
As a stop-start cycle could be due to change of configuration, please perform anything that depends on config
in start().
Implementations can throw any exception. Caller must handle this properly.