public class JPASessionFactory extends Object implements org.kie.internal.runtime.manager.SessionFactory
KieSession data.| Constructor and Description |
|---|
JPASessionFactory(org.kie.api.runtime.manager.RuntimeEnvironment environment,
String owner) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInterceptors(org.kie.api.runtime.KieSession ksession) |
void |
close() |
org.kie.api.runtime.KieSession |
findKieSessionById(Long sessionId) |
org.kie.api.runtime.KieSession |
newKieSession() |
void |
onDispose(Long sessionId) |
public JPASessionFactory(org.kie.api.runtime.manager.RuntimeEnvironment environment,
String owner)
public org.kie.api.runtime.KieSession newKieSession()
newKieSession in interface org.kie.internal.runtime.manager.SessionFactorypublic org.kie.api.runtime.KieSession findKieSessionById(Long sessionId)
findKieSessionById in interface org.kie.internal.runtime.manager.SessionFactorypublic void close()
close in interface org.kie.internal.runtime.manager.SessionFactoryprotected void addInterceptors(org.kie.api.runtime.KieSession ksession)
public void onDispose(Long sessionId)
onDispose in interface org.kie.internal.runtime.manager.SessionFactoryCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.