Class KieRuntimeFactory

  • public class KieRuntimeFactory
    extends Object
    Maintains a collection of Knowledge Runtimes that is bound to the given KieBase.
    • Method Detail

      • of

        public static KieRuntimeFactory of​(KieBase kieBase)
        Creates an instance of this factory for the given KieBase
      • get

        public <T> T get​(Class<T> cls)
        Returns a singleton instance of the given class (if any)
        NoSuchElementException - if it is not possible to find a service for the given class