getContext

open override fun getContext(name: String): ApplicationContext?

Get a context for given name. If not available then create one, set in holder and return back.

Return

Parameters

name

open override fun getContext(name: String, permittedKeys: Set<Key<*>>?): ApplicationContext?

Same as getContext but with permittedKeys. If context already exist with different set of keys then this method should throw InvalidKeyException

Return

Parameters

name