summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-spring-context/index.html
blob: 1fdadc3e714ff552fcd46cd514631a8efec8cb03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SpringContext - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.remote</a>&nbsp;/&nbsp;<a href="./index.html">SpringContext</a><br/>
<br/>
<h1>SpringContext</h1>
<code><span class="keyword">class </span><span class="identifier">SpringContext</span></code>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
<code><span class="identifier">SpringContext</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="set-application-context.html">setApplicationContext</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">setApplicationContext</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote.SpringContext$setApplicationContext()/applicationContext">applicationContext</span><span class="symbol">:</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td>
</tr>
</tbody>
</table>
<h3>Companion Object Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="get-bean.html">getBean</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</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>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><a href="get-bean.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</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>
<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>&nbsp;<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>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</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>&nbsp;<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>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><a href="get-bean.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</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>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>