destroyBean

inline fun <T> BeanContext.destroyBean(): T?

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

Return

The destroy instance or null if no such bean exists

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type