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()
KieSession
KieSession
org.kie.api.runtime.KieSession findKieSessionById(Long sessionId)
KieSession
form data store (such as db) based on given id.sessionId
- identifier of ksessionKieSession
RuntimeException
- in case session cannot be loadedvoid close()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.