Package org.kie.internal.command

# Interface RegistryContext

All Superinterfaces:
  `Context`

public interface RegistryContext extends Context

- ## Method Summary

  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 Details

  - ### 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()