createStereotypedBean

inline fun <T, Q : Annotation> BeanContext.createStereotypedBean(): T

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

Return

The instance

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

Q

The stereotype type


inline fun <T, Q : Annotation> BeanContext.createStereotypedBean(argumentValues: Map<String, Any>): T

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

Return

The instance

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

Q

The stereotype type

argumentValues

The argument values


inline fun <T, Q : Annotation> BeanContext.createStereotypedBean(vararg args: Any): T

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

Return

The instance

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

Q

The stereotype type

args

The argument values