public class KieRuntimeFactory extends Object
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Class<T> cls)
Returns a singleton instance of the given class (if any)
|
static KieRuntimeFactory |
of(KieBase kieBase)
Creates an instance of this factory for the given KieBase
|
public static KieRuntimeFactory of(KieBase kieBase)
public <T> T get(Class<T> cls)
NoSuchElementException
- if it is not possible to find a service for the given classCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.