mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
172 lines
5.5 KiB
HTML
172 lines
5.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/>
|
|
<title>Module poodinis.registration</title>
|
|
<link rel="stylesheet" href="../css/style.min.css"/>
|
|
<script type="text/javascript" src="../js/script.min.js"></script>
|
|
</head>
|
|
<body onload="setupDdox();">
|
|
<header></header>
|
|
<nav id="main-nav">
|
|
<div>
|
|
<noscript>
|
|
<p style="color: red">The search functionality needs JavaScript enabled</p>
|
|
</noscript>
|
|
<div id="symbolSearchPane" style="display: none">
|
|
<form action="#" method="GET">
|
|
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
|
|
</form>
|
|
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../";
|
|
document.getElementById('symbolSearchPane').style.display = 'block';</script>
|
|
</div>
|
|
<ul class="tree-view">
|
|
<li class="tree-view ">
|
|
<div class="package ">
|
|
<a href="../poodinis.html">poodinis</a>
|
|
</div>
|
|
<ul class="tree-view">
|
|
<li>
|
|
<div class="module ">
|
|
<a href="../poodinis/altphobos.html">altphobos</a>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="module ">
|
|
<a href="../poodinis/autowire.html">autowire</a>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="module ">
|
|
<a href="../poodinis/container.html">container</a>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="module ">
|
|
<a href="../poodinis/context.html">context</a>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="module ">
|
|
<a href="../poodinis/factory.html">factory</a>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="module ">
|
|
<a href="../poodinis/imports.html">imports</a>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="module ">
|
|
<a href="../poodinis/polyfill.html">polyfill</a>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="module selected">
|
|
<a href="../poodinis/registration.html">registration</a>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="module ">
|
|
<a href="../poodinis/valueinjection.html">valueinjection</a>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<p id="main-nav-footer">
|
|
Built with
|
|
<a href="https://github.com/MartinNowak/scod">scod</a>
|
|
</p>
|
|
</nav>
|
|
<div id="main-contents">
|
|
<div>
|
|
<h1>Module poodinis.registration</h1><p>This module contains objects for defining and scoping dependency registrations.
|
|
</p><section><p>Part of the Poodinis Dependency Injection framework.
|
|
</p>
|
|
</section>
|
|
|
|
<section></section>
|
|
<section>
|
|
<h2>Functions</h2>
|
|
<table>
|
|
<col class="caption"/>
|
|
<tr>
|
|
<th>Name</th><th>Description</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<code>
|
|
<a id="existingInstance" class="public" href="../poodinis/registration/existingInstance.html">existingInstance</a><span class="tableEntryAnnotation">(registration, instance)</span>
|
|
</code>
|
|
</td>
|
|
<td>Scopes registrations to return the given instance every time the given registration is resolved.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<code>
|
|
<a id="initializedBy" class="public" href="../poodinis/registration/initializedBy.html">initializedBy</a><span class="tableEntryAnnotation">(registration, initializer)</span>
|
|
</code>
|
|
</td>
|
|
<td>Scopes registrations to create new instances using the given initializer delegate.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<code>
|
|
<a id="initializedOnceBy" class="public" href="../poodinis/registration/initializedOnceBy.html">initializedOnceBy</a><span class="tableEntryAnnotation">(registration, initializer)</span>
|
|
</code>
|
|
</td>
|
|
<td>Scopes registrations to create a new instance using the given initializer delegate. On subsequent resolves the same instance is returned.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<code>
|
|
<a id="initializeFactoryType" class="public" href="../poodinis/registration/initializeFactoryType.html">initializeFactoryType</a><span class="tableEntryAnnotation">(registration)</span>
|
|
</code>
|
|
</td>
|
|
<td>Sets the registration's instance factory type the same as the registration's.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<code>
|
|
<a id="newInstance" class="public" href="../poodinis/registration/newInstance.html">newInstance</a><span class="tableEntryAnnotation">(registration)</span>
|
|
</code>
|
|
</td>
|
|
<td>Scopes registrations to return a new instance every time the given registration is resolved.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<code>
|
|
<a id="singleInstance" class="public" href="../poodinis/registration/singleInstance.html">singleInstance</a><span class="tableEntryAnnotation">(registration)</span>
|
|
</code>
|
|
</td>
|
|
<td>Scopes registrations to return the same instance every time a given registration is resolved.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<footer>
|
|
<div id="license-info">
|
|
<p>Mike Bierlee, m.bierlee@lostmoment.com
|
|
</p>
|
|
|
|
<p>2014-2023 Mike Bierlee
|
|
</p>
|
|
|
|
<p>This software is licensed under the terms of the MIT license.
|
|
The full terms of the license can be found in the LICENSE file.
|
|
</p>
|
|
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
</html> |