|
lintel 0.2.0
|
#include <BaseFeature.h>
Public Member Functions | |
| BaseFeature (std::shared_ptr< Features > features) | |
| void | registerTypes (lintel::di::ContainerBuilder &builder) override |
| void | registerTypes (lintel::di::ContainerBuilder &builder, const std::shared_ptr< Configuration > &configuration, const std::shared_ptr< ProcessName > &processName) override |
| void | initialize (std::shared_ptr< lintel::di::Container > container) override |
Public Member Functions inherited from lintel::Feature< Features::Value > | |
| Feature (Features::Value type, std::shared_ptr< Features > features) | |
| virtual | ~Feature ()=default |
| std::string_view | getName () |
Public Member Functions inherited from lintel::FeatureInterface | |
| virtual | ~FeatureInterface ()=default |
Additional Inherited Members | |
Protected Attributes inherited from lintel::Feature< Features::Value > | |
| std::string_view | m_name |
Base feature implementation that registers core library services
| lintel::BaseFeature::BaseFeature | ( | std::shared_ptr< Features > | features | ) |
Construct the base feature
| features | The central Features manager |
|
overridevirtual |
Initialize the base feature with the resolved container
Implements lintel::Feature< Features::Value >.
|
overridevirtual |
Register core library types in the DI container
Implements lintel::Feature< Features::Value >.
|
overridevirtual |
Register core library types in the DI container.
Registers the HistoryService only in the process that the configuration explicitly declares as its owner; all other processes receive a NoopHistoryService and therefore never run a history service.
| builder | the DI container builder |
| configuration | the parsed application configuration |
| processName | the process name of the running process |
Reimplemented from lintel::FeatureInterface.