|
lintel 0.2.0
|
#include <AbstractService.h>
Public Member Functions | |
| virtual void | onInitialize ()=0 |
| virtual void | onShutdown ()=0 |
| virtual ShutdownPriority | shutdownPriorityOf () const =0 |
| virtual std::string_view | getClassName () const =0 |
| virtual const std::string & | getProcessName () const =0 |
| virtual const std::string & | getInstanceName () const =0 |
| virtual | ~AbstractServiceInterface ()=default |
Friends | |
| class | PropertyService |
Interface that all services must implement for lifecycle management.
|
virtualdefault |
|
pure virtual |
Returns the class name of this service.
Implemented in lintel::AbstractService< T >, lintel::AbstractService< AuthService >, lintel::AbstractService< CommandLineHistoryService >, lintel::AbstractService< CommandLineService >, lintel::AbstractService< EventBusService >, lintel::AbstractService< HistoryService >, lintel::AbstractService< MessageQueueService >, lintel::AbstractService< ProcessService >, lintel::AbstractService< SchedulerService >, and lintel::AbstractService< SharedMemoryService >.
|
pure virtual |
Returns the instance name of this service.
Implemented in lintel::AbstractService< T >, lintel::AbstractService< AuthService >, lintel::AbstractService< CommandLineHistoryService >, lintel::AbstractService< CommandLineService >, lintel::AbstractService< EventBusService >, lintel::AbstractService< HistoryService >, lintel::AbstractService< MessageQueueService >, lintel::AbstractService< ProcessService >, lintel::AbstractService< SchedulerService >, and lintel::AbstractService< SharedMemoryService >.
Returns the process name associated with this service.
Implemented in lintel::AbstractService< T >, lintel::AbstractService< AuthService >, lintel::AbstractService< CommandLineHistoryService >, lintel::AbstractService< CommandLineService >, lintel::AbstractService< EventBusService >, lintel::AbstractService< HistoryService >, lintel::AbstractService< MessageQueueService >, lintel::AbstractService< ProcessService >, lintel::AbstractService< SchedulerService >, lintel::AbstractService< SharedMemoryService >, and lintel::HistoryService.
Called when the service should perform its initialization.
Implemented in lintel::AbstractService< T >, lintel::AbstractService< AuthService >, lintel::AbstractService< CommandLineHistoryService >, lintel::AbstractService< CommandLineService >, lintel::AbstractService< EventBusService >, lintel::AbstractService< HistoryService >, lintel::AbstractService< MessageQueueService >, lintel::AbstractService< ProcessService >, lintel::AbstractService< SchedulerService >, lintel::AbstractService< SharedMemoryService >, lintel::AuthService, lintel::EventBusService, lintel::HistoryService, lintel::MessageQueueService, lintel::ProcessService, lintel::SchedulerService, lintel::SharedMemoryService, lintel::CommandLineHistoryService, and lintel::CommandLineService.
Called when the service should perform its shutdown.
Implemented in lintel::AbstractService< T >, lintel::AbstractService< AuthService >, lintel::AbstractService< CommandLineHistoryService >, lintel::AbstractService< CommandLineService >, lintel::AbstractService< EventBusService >, lintel::AbstractService< HistoryService >, lintel::AbstractService< MessageQueueService >, lintel::AbstractService< ProcessService >, lintel::AbstractService< SchedulerService >, lintel::AbstractService< SharedMemoryService >, lintel::AuthService, lintel::EventBusService, lintel::HistoryService, lintel::MessageQueueService, lintel::SchedulerService, and lintel::CommandLineService.
|
pure virtual |
Returns the shutdown priority of this service.
Implemented in lintel::AbstractService< T >, lintel::AbstractService< AuthService >, lintel::AbstractService< CommandLineHistoryService >, lintel::AbstractService< CommandLineService >, lintel::AbstractService< EventBusService >, lintel::AbstractService< HistoryService >, lintel::AbstractService< MessageQueueService >, lintel::AbstractService< ProcessService >, lintel::AbstractService< SchedulerService >, lintel::AbstractService< SharedMemoryService >, and lintel::ProcessService.
|
friend |