createBean

inline fun <T> BeanContext.createBean(): T

Extension for BeanContext.createBean providing a createBean<Foo>() variant.

Return

The instance

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type


inline fun <T> BeanContext.createBean(argumentValues: Map<String, Any>): T

Extension for BeanContext.createBean providing a createBean<Foo>(args) variant.

Return

The instance

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

argumentValues

The argument values


inline fun <T> BeanContext.createBean(vararg args: Any): T

Extension for BeanContext.createBean providing a createBean<Foo>(args) variant.

Return

The instance

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

args

The argument values