## Uses of Interface
com.holonplatform.core.ContextScope

- Packages that use ContextScope
  Package | Description
  --- | ---
  com.holonplatform.core |
  com.holonplatform.core.examples |
  com.holonplatform.core.internal |

- - ### Uses of ContextScope in com.holonplatform.core

    Methods in com.holonplatform.core that return types with arguments of type ContextScope
    Modifier and Type | Method and Description
    --- | ---
    `default Optional<ContextScope>` | Context.`classLoaderScope()` Shortcut method to obtain the ClassLoader-bound context scope, i.e.
    `default Optional<ContextScope>` | Context.`classLoaderScope(ClassLoader classLoader)` Shortcut method to obtain the ClassLoader-bound context scope, i.e.
    `default Optional<ContextScope>` | Context.`scope(String name)` Gets a registered `ContextScope` with the given `name` and bound to default `ClassLoader`.
    `Optional<ContextScope>` | Context.`scope(String name, ClassLoader classLoader)` Gets a registered `ContextScope` with the given `name` and bound to given `classLoader`.
    `default Optional<ContextScope>` | Context.`threadScope()` Shortcut method to obtain the thread-bound context scope, i.e.
    `default Optional<ContextScope>` | Context.`threadScope(ClassLoader classLoader)` Shortcut method to obtain the thread-bound context scope, i.e.

  - ### Uses of ContextScope in com.holonplatform.core.examples

    Classes in com.holonplatform.core.examples that implement ContextScope
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ExampleContext.MyContextScope`

  - ### Uses of ContextScope in com.holonplatform.core.internal

    Classes in com.holonplatform.core.internal that implement ContextScope
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ClassLoaderScope` A `ContextScope` for `ClassLoader`-scoped singleton context resources.
    `class` | `ThreadScope` A `ContextScope` to handle Thread-bound context resources.

    Methods in com.holonplatform.core.internal that return ContextScope
    Modifier and Type | Method and Description
    --- | ---
    `static ContextScope` | ContextManager.`getScope(String name)` Gets the `ContextScope` with given `name` bound to default ClassLoader
    `static ContextScope` | ContextManager.`getScope(String name, ClassLoader classLoader)` Gets the `ContextScope` with given `name` bound to given `classLoader`

    Methods in com.holonplatform.core.internal that return types with arguments of type ContextScope
    Modifier and Type | Method and Description
    --- | ---
    `static Iterable<ContextScope>` | ContextManager.`getScopes()` Gets all available `ContextScope`s for default ClassLoader
    `static Iterable<ContextScope>` | ContextManager.`getScopes(ClassLoader classLoader)` Gets all available `ContextScope`s for given `classLoader`
    `Optional<ContextScope>` | DefaultContext.`scope(String name, ClassLoader classLoader)`

    Methods in com.holonplatform.core.internal with parameters of type ContextScope
    Modifier and Type | Method and Description
    --- | ---
    `static void` | ContextManager.`registerScope(ClassLoader classLoader, ContextScope scope)` Register a `ContextScope` bound to given `classLoader`.

Copyright © 2019 The Holon Platform. All rights reserved.