public class InMemorySessionFactory extends Object implements org.kie.internal.runtime.manager.SessionFactory
RuntimeManager
close. For that, the more permanent store
JPASessionFactory
should be used.JPASessionFactory
Constructor and Description |
---|
InMemorySessionFactory(org.kie.api.runtime.manager.RuntimeEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.kie.api.runtime.KieSession |
findKieSessionById(Long sessionId) |
org.kie.api.runtime.KieSession |
newKieSession() |
public InMemorySessionFactory(org.kie.api.runtime.manager.RuntimeEnvironment environment)
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
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.