Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
database_context.cpp
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
10
11namespace database
12{
13
15 : performance_monitor_(std::make_shared<monitoring::performance_monitor>())
16 , entity_manager_(std::make_shared<orm::entity_manager>())
17 , transaction_coordinator_(std::make_shared<async::transaction_coordinator>())
18 , credential_manager_(std::make_shared<security::credential_manager>())
19 , access_control_(std::make_shared<security::access_control>())
20 , audit_logger_(std::make_shared<security::audit_logger>())
21 , security_monitor_(std::make_shared<security::security_monitor>())
22 , encryption_manager_(std::make_shared<security::encryption_manager>())
23{
24 // Sprint 3, Task 3.2: Initialize performance monitor
25 // Sprint 3, Task 3.1: Initialize ORM components
26 // Sprint 3, Task 3.3: Initialize security components
27}
28
30{
31 // Cleanup: All shared_ptrs will be automatically destroyed
32}
33
34} // namespace database
~database_context()
Destructor - ensures clean shutdown.
database_context()
Default constructor - creates default implementations.
Dependency injection container for database system components.