toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.agent.experimental.util
/
InjectionUtils
/
wire
wire
fun
<
T
>
wire
(
t
:
T
?
,
applicationContext
:
<Error class: unknown class>
)
:
T
?
Inject the given object with Spring. Return the injected object
Parameters
t
object to inject