blob: 24be4c0c0482ac18287d5f352734a080aebd0405 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SpringContext.getBean - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.remote</a> / <a href="index.html">SpringContext</a> / <a href="./get-bean.html">getBean</a><br/>
<br/>
<h1>getBean</h1>
<a name="pl.treksoft.kvision.remote.SpringContext.Companion$getBean(java.lang.Class((pl.treksoft.kvision.remote.SpringContext.Companion.getBean.T)))"></a>
<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">getBean</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.SpringContext.Companion$getBean(java.lang.Class((pl.treksoft.kvision.remote.SpringContext.Companion.getBean.T)))/beanClass">beanClass</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><a href="get-bean.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="get-bean.html#T"><span class="identifier">T</span></a></code>
<p>Get a Spring bean by type.</p>
<a name="pl.treksoft.kvision.remote.SpringContext.Companion$getBean(kotlin.String)"></a>
<code><span class="keyword">fun </span><span class="identifier">getBean</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.SpringContext.Companion$getBean(kotlin.String)/beanName">beanName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a></code>
<p>Get a Spring bean by name.</p>
<a name="pl.treksoft.kvision.remote.SpringContext.Companion$getBean(kotlin.String, java.lang.Class((pl.treksoft.kvision.remote.SpringContext.Companion.getBean.T)))"></a>
<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">getBean</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.SpringContext.Companion$getBean(kotlin.String, java.lang.Class((pl.treksoft.kvision.remote.SpringContext.Companion.getBean.T)))/beanName">beanName</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.remote.SpringContext.Companion$getBean(kotlin.String, java.lang.Class((pl.treksoft.kvision.remote.SpringContext.Companion.getBean.T)))/beanClass">beanClass</span><span class="symbol">:</span> <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol"><</span><a href="get-bean.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="get-bean.html#T"><span class="identifier">T</span></a></code>
<p>Get a Spring bean by name and type.</p>
</BODY>
</HTML>
|