Package org.kie.internal.command

## Interface RegistryContext

- All Superinterfaces:
    `org.kie.api.runtime.Context`

      public interface RegistryContext
      extends org.kie.api.runtime.Context

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default <T> T` | `computeIfAbsent​(Class<T> clazz, Function<? super Class<T>,​? extends T> mappingFunction)` |
    `static RegistryContext` | `create()` |
    `ContextManager` | `getContextManager()` |
    `<T> T` | `lookup​(Class<T> clazz)` |
    `<T> RegistryContext` | `register​(Class<T> clazz, T instance)` |

    - ### Methods inherited from interface org.kie.api.runtime.Context

      `get, getName, has, remove, set`

- - ### Method Detail

    - #### register

          <T> RegistryContext register​(Class<T> clazz,
                                       T instance)

    - #### lookup

          <T> T lookup​(Class<T> clazz)

    - #### computeIfAbsent

          default <T> T computeIfAbsent​(Class<T> clazz,
                                        Function<? super Class<T>,​? extends T> mappingFunction)

    - #### getContextManager

          ContextManager getContextManager()

    - #### create

          static RegistryContext create()