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.SessionFactory
public org.kie.api.runtime.KieSession findKieSessionById(Long sessionId)
findKieSessionById
in interface org.kie.internal.runtime.manager.SessionFactory
public void close()
close
in interface org.kie.internal.runtime.manager.SessionFactory
protected void addInterceptors(org.kie.api.runtime.KieSession ksession)
public void onDispose(Long sessionId)
onDispose
in interface org.kie.internal.runtime.manager.SessionFactory
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.