public interface SessionFactory
KieSession instances.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the factory and releases all resources
|
org.kie.api.runtime.KieSession |
findKieSessionById(Long sessionId)
Loads
KieSession form data store (such as db) based on given id. |
org.kie.api.runtime.KieSession |
newKieSession()
Produces new instance of
KieSession |
org.kie.api.runtime.KieSession newKieSession()
KieSessionKieSessionorg.kie.api.runtime.KieSession findKieSessionById(Long sessionId)
KieSession form data store (such as db) based on given id.sessionId - identifier of ksessionKieSessionRuntimeException - in case session cannot be loadedvoid close()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.