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​(java.lang.Class<T> clazz, java.util.function.Function<? super java.lang.Class<T>,​? extends T> mappingFunction)` |
    `static RegistryContext` | `create()` |
    `ContextManager` | `getContextManager()` |
    `<T> T` | `lookup​(java.lang.Class<T> clazz)` |
    `<T> RegistryContext` | `register​(java.lang.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​(java.lang.Class<T> clazz,
                                       T instance)

    - #### lookup

          <T> T lookup​(java.lang.Class<T> clazz)

    - #### computeIfAbsent

          default <T> T computeIfAbsent​(java.lang.Class<T> clazz,
                                        java.util.function.Function<? super java.lang.Class<T>,​? extends T> mappingFunction)

    - #### getContextManager

          ContextManager getContextManager()

    - #### create

          static RegistryContext create()