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 Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default <T> T` | `computeIfAbsent(Class<T> clazz, Function<? super Class<T>,? extends T> mappingFunction)`
    `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()

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.