<spanid="cpl-core-application-application-abc"></span><h2>cpl_core.application.application_abc<aclass="headerlink"href="#module-cpl_core.application.application_abc"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_core.application.application_abc.</span></code><codeclass="sig-name descname"><spanclass="pre">ApplicationABC</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">config</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="cpl_core.configuration.html#cpl_core.configuration.configuration_abc.ConfigurationABC"title="cpl_core.configuration.configuration_abc.ConfigurationABC"><spanclass="pre">cpl_core.configuration.configuration_abc.ConfigurationABC</span></a></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">services</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC"title="cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC"><spanclass="pre">cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.application_abc.ApplicationABC"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">abstract</span></em><codeclass="sig-name descname"><spanclass="pre">configure</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.application_abc.ApplicationABC.configure"title="Permalink to this definition">¶</a></dt>
<dd><p>Configure the application</p>
<p>Called by <aclass="reference internal"href="#cpl_core.application.application_abc.ApplicationABC.run"title="cpl_core.application.application_abc.ApplicationABC.run"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.application.application_abc.ApplicationABC.run</span></code></a></p>
<emclass="property"><spanclass="pre">abstract</span></em><codeclass="sig-name descname"><spanclass="pre">main</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.application_abc.ApplicationABC.main"title="Permalink to this definition">¶</a></dt>
<dd><p>Custom entry point</p>
<p>Called by <aclass="reference internal"href="#cpl_core.application.application_abc.ApplicationABC.run"title="cpl_core.application.application_abc.ApplicationABC.run"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.application.application_abc.ApplicationABC.run</span></code></a></p>
<codeclass="sig-name descname"><spanclass="pre">run</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.application_abc.ApplicationABC.run"title="Permalink to this definition">¶</a></dt>
<spanid="cpl-core-application-application-builder"></span><h2>cpl_core.application.application_builder<aclass="headerlink"href="#module-cpl_core.application.application_builder"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_core.application.application_builder.</span></code><codeclass="sig-name descname"><spanclass="pre">ApplicationBuilder</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">app</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Type</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference internal"href="#cpl_core.application.application_abc.ApplicationABC"title="cpl_core.application.application_abc.ApplicationABC"><spanclass="pre">cpl_core.application.application_abc.ApplicationABC</span></a><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.application_builder.ApplicationBuilder"title="Permalink to this definition">¶</a></dt>
<p>This is class is used to build a object of <aclass="reference internal"href="#cpl_core.application.application_abc.ApplicationABC"title="cpl_core.application.application_abc.ApplicationABC"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.application.application_abc.ApplicationABC</span></code></a></p>
<blockquote>
<div><dlclass="simple">
<dt>app: Type[<aclass="reference internal"href="#cpl_core.application.application_abc.ApplicationABC"title="cpl_core.application.application_abc.ApplicationABC"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.application.application_abc.ApplicationABC</span></code></a>]</dt><dd><p>Application to build</p>
<codeclass="sig-name descname"><spanclass="pre">build</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<aclass="reference internal"href="#cpl_core.application.application_abc.ApplicationABC"title="cpl_core.application.application_abc.ApplicationABC"><spanclass="pre">cpl_core.application.application_abc.ApplicationABC</span></a><aclass="headerlink"href="#cpl_core.application.application_builder.ApplicationBuilder.build"title="Permalink to this definition">¶</a></dt>
<dd><p>Creates custom application object</p>
<blockquote>
<div><p>Object of <aclass="reference internal"href="#cpl_core.application.application_abc.ApplicationABC"title="cpl_core.application.application_abc.ApplicationABC"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.application.application_abc.ApplicationABC</span></code></a></p>
<codeclass="sig-name descname"><spanclass="pre">use_extension</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">extension</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Type</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">cpl_core.application.application_extension_abc.ApplicationExtensionABC</span><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.application_builder.ApplicationBuilder.use_extension"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">use_startup</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">startup</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Type</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference internal"href="#cpl_core.application.startup_abc.StartupABC"title="cpl_core.application.startup_abc.StartupABC"><spanclass="pre">cpl_core.application.startup_abc.StartupABC</span></a><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.application_builder.ApplicationBuilder.use_startup"title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the custom startup class to use</p>
<blockquote>
<div><dlclass="simple">
<dt>startup: Type[<aclass="reference internal"href="#cpl_core.application.startup_abc.StartupABC"title="cpl_core.application.startup_abc.StartupABC"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.application.startup_abc.StartupABC</span></code></a>]</dt><dd><p>Startup class to use</p>
<spanid="cpl-core-application-application-builder-abc"></span><h2>cpl_core.application.application_builder_abc<aclass="headerlink"href="#module-cpl_core.application.application_builder_abc"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_core.application.application_builder_abc.</span></code><codeclass="sig-name descname"><spanclass="pre">ApplicationBuilderABC</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.application_builder_abc.ApplicationBuilderABC"title="Permalink to this definition">¶</a></dt>
<p>ABC for the <aclass="reference internal"href="#cpl_core.application.application_builder.ApplicationBuilder"title="cpl_core.application.application_builder.ApplicationBuilder"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.application.application_builder.ApplicationBuilder</span></code></a></p>
<emclass="property"><spanclass="pre">abstract</span></em><codeclass="sig-name descname"><spanclass="pre">build</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<aclass="reference internal"href="#cpl_core.application.application_abc.ApplicationABC"title="cpl_core.application.application_abc.ApplicationABC"><spanclass="pre">cpl_core.application.application_abc.ApplicationABC</span></a><aclass="headerlink"href="#cpl_core.application.application_builder_abc.ApplicationBuilderABC.build"title="Permalink to this definition">¶</a></dt>
<dd><p>Creates custom application object</p>
<blockquote>
<div><p>Object of <aclass="reference internal"href="#cpl_core.application.application_abc.ApplicationABC"title="cpl_core.application.application_abc.ApplicationABC"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.application.application_abc.ApplicationABC</span></code></a></p>
<emclass="property"><spanclass="pre">abstract</span></em><codeclass="sig-name descname"><spanclass="pre">use_startup</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">startup</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">Type</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference internal"href="#cpl_core.application.startup_abc.StartupABC"title="cpl_core.application.startup_abc.StartupABC"><spanclass="pre">cpl_core.application.startup_abc.StartupABC</span></a><spanclass="p"><spanclass="pre">]</span></span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.application_builder_abc.ApplicationBuilderABC.use_startup"title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the custom startup class to use</p>
<blockquote>
<div><dlclass="simple">
<dt>startup: Type[<aclass="reference internal"href="#cpl_core.application.startup_abc.StartupABC"title="cpl_core.application.startup_abc.StartupABC"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.application.startup_abc.StartupABC</span></code></a>]</dt><dd><p>Startup class to use</p>
<spanid="cpl-core-application-startup-abc"></span><h2>cpl_core.application.startup_abc<aclass="headerlink"href="#module-cpl_core.application.startup_abc"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl_core.application.startup_abc.</span></code><codeclass="sig-name descname"><spanclass="pre">StartupABC</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.application.startup_abc.StartupABC"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">abstract</span></em><codeclass="sig-name descname"><spanclass="pre">configure_configuration</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">config</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="cpl_core.configuration.html#cpl_core.configuration.configuration_abc.ConfigurationABC"title="cpl_core.configuration.configuration_abc.ConfigurationABC"><spanclass="pre">cpl_core.configuration.configuration_abc.ConfigurationABC</span></a></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">env</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="cpl_core.environment.html#cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC"title="cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC"><spanclass="pre">cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC</span></a></span></em><spanclass="sig-paren">)</span>→<aclass="reference internal"href="cpl_core.configuration.html#cpl_core.configuration.configuration_abc.ConfigurationABC"title="cpl_core.configuration.configuration_abc.ConfigurationABC"><spanclass="pre">cpl_core.configuration.configuration_abc.ConfigurationABC</span></a><aclass="headerlink"href="#cpl_core.application.startup_abc.StartupABC.configure_configuration"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">abstract</span></em><codeclass="sig-name descname"><spanclass="pre">configure_services</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">service</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_collection_abc.ServiceCollectionABC"title="cpl_core.dependency_injection.service_collection_abc.ServiceCollectionABC"><spanclass="pre">cpl_core.dependency_injection.service_collection_abc.ServiceCollectionABC</span></a></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">env</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="cpl_core.environment.html#cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC"title="cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC"><spanclass="pre">cpl_core.environment.application_environment_abc.ApplicationEnvironmentABC</span></a></span></em><spanclass="sig-paren">)</span>→<aclass="reference internal"href="cpl_core.dependency_injection.html#cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC"title="cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC"><spanclass="pre">cpl_core.dependency_injection.service_provider_abc.ServiceProviderABC</span></a><aclass="headerlink"href="#cpl_core.application.startup_abc.StartupABC.configure_services"title="Permalink to this definition">¶</a></dt>