org.kie.internal.runtime.conf

## Interface ObjectModelResolver

-     public interface ObjectModelResolver

  Resolves `ObjectModel` to actual instances based on underlying mechanism such as reflection, Spring, CDI, MVEL and more.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `accept(String resolverId)` Accepts if the given `resolverId` is matching this resolver identifier.
    `Object` | `getInstance(ObjectModel model, ClassLoader cl, Map<String,Object> contextParams)` Creates new instance from the given `ObjectMode`

- - ### Method Detail

    - #### getInstance

          Object getInstance(ObjectModel model,
                             ClassLoader cl,
                             Map<String,Object> contextParams)

      Creates new instance from the given `ObjectMode`
      Parameters:
        `model` - object model that defines the instance
        `cl` - class loader that have access to the classes
        `contextParams` - provides some contextual params that are referenced by name and already created such as RuntimeManager, RuntimeEngine, KieSession, TaskService
      Returns:

    - #### accept

          boolean accept(String resolverId)

      Accepts if the given `resolverId` is matching this resolver identifier.
      Parameters:
        `resolverId` - identifier of the resolver
      Returns:

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