Interface ApplicationContextHolderStrategy

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • existsContext

         abstract Boolean existsContext(String name, Set<Key<?>> permittedKeys)

        Check if context with given name and permittedKeys exists in this context holder strategy

      • initCoroutineScope

         abstract CoroutineScope initCoroutineScope(CoroutineScope coroutineScope)

        Initialize a new CoroutineScope which can hold ApplicationContext for all coroutines that use this scope

        Parameters:
        coroutineScope - if any existing coroutineScope passed then a new coroutineScope is created from that param and init for holding ApplicationContext