getCloseable

open fun <T : AutoCloseable> getCloseable(key: String): T?(source)

Returns the AutoCloseable resource associated to the given key, or null if such a key is not present in this ComponentModel.

Parameters

key

the key associated with a resource via addCloseable.