diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b39880c8..1c4d02c3 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -22,12 +22,10 @@
-
+
-
-
-
-
+
+
@@ -488,13 +486,6 @@
1605881914521
-
- 1608059323858
-
-
-
- 1608059323858
-
1608059501153
@@ -831,7 +822,14 @@
1614837337289
-
+
+ 1614838148219
+
+
+
+ 1614838148219
+
+
@@ -864,7 +862,6 @@
-
@@ -872,7 +869,8 @@
-
+
+
diff --git a/src/cpl/application/application_abc.py b/src/cpl/application/application_abc.py
index d680c542..28929da3 100644
--- a/src/cpl/application/application_abc.py
+++ b/src/cpl/application/application_abc.py
@@ -2,6 +2,7 @@ from abc import ABC, abstractmethod
from typing import Type, Optional
from cpl.application.application_host_abc import ApplicationHostABC
+from cpl.application.application_runtime_abc import ApplicationRuntimeABC
from cpl.application.startup_abc import StartupABC
from cpl.configuration.configuration_abc import ConfigurationABC
from cpl.console.console import Console
@@ -14,8 +15,9 @@ class ApplicationABC(ABC):
def __init__(self):
self._startup: Optional[StartupABC] = None
self._app_host: Optional[ApplicationHostABC] = None
- self._services: Optional[ServiceProviderABC] = None
self._configuration: Optional[ConfigurationABC] = None
+ self._runtime: Optional[ApplicationRuntimeABC] = None
+ self._services: Optional[ServiceProviderABC] = None
def use_startup(self, startup: Type[StartupABC]):
self._startup = startup()
@@ -23,6 +25,7 @@ class ApplicationABC(ABC):
def build(self):
if self._startup is not None:
self._app_host = self._startup.create_application_host()
+ self._runtime = self._app_host.application_runtime
self._configuration = self._startup.create_configuration()
self._services = self._startup.create_services()