|
Common System 0.2.0
Common interfaces and patterns for system integration
|
Service container interfaces for dependency injection. More...
#include <any>#include <concepts>#include <functional>#include <memory>#include <string>#include <typeindex>#include <vector>#include "../patterns/result.h"#include "../concepts/service.h"#include "../error/error_codes.h"

Go to the source code of this file.
Classes | |
| struct | kcenon::common::di::service_descriptor |
| Metadata describing a registered service. More... | |
| class | kcenon::common::di::IServiceContainer |
| Abstract interface for dependency injection containers. More... | |
| interface | kcenon::common::di::IServiceScope |
| Scoped service container for request-level isolation. More... | |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::common |
| Core interfaces. | |
| namespace | kcenon::common::di |
| namespace | kcenon::common::di::di_error_codes |
| Error codes specific to dependency injection. | |
Enumerations | |
| enum class | kcenon::common::di::service_lifetime { kcenon::common::di::singleton , kcenon::common::di::transient , kcenon::common::di::scoped } |
| Defines the lifetime policy for registered services. More... | |
Functions | |
| const char * | kcenon::common::di::to_string (service_lifetime lifetime) |
| Convert service_lifetime to string representation. | |
Service container interfaces for dependency injection.
This header defines the public interfaces for a dependency injection container, enabling loosely coupled systems where services can be registered, resolved, and managed with configurable lifetimes.
Thread Safety:
Circular Dependency Detection:
Definition in file service_container_interface.h.