getGlobalContext

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

Return

Parameters

name

fun getGlobalContext(name: String, permittedKeys: Set<Key<*>>?): ApplicationContext?

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

Return

Parameters

name