org.jbpm.runtime.manager.impl.factory
Class InMemorySessionFactory
java.lang.Object
org.jbpm.runtime.manager.impl.factory.InMemorySessionFactory
- All Implemented Interfaces:
- org.kie.internal.runtime.manager.SessionFactory
public class InMemorySessionFactory
- extends Object
- implements org.kie.internal.runtime.manager.SessionFactory
SessionFactory implementation backed with an in-memory store of used sessions. This does not preserve state
between server restarts or even RuntimeManager
close. For that, the more permanent store
JPASessionFactory
should be used.
- See Also:
JPASessionFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemorySessionFactory
public InMemorySessionFactory(RuntimeEnvironment environment)
newKieSession
public KieSession newKieSession()
- Specified by:
newKieSession
in interface org.kie.internal.runtime.manager.SessionFactory
findKieSessionById
public KieSession findKieSessionById(Integer sessionId)
- Specified by:
findKieSessionById
in interface org.kie.internal.runtime.manager.SessionFactory
close
public void close()
- Specified by:
close
in interface org.kie.internal.runtime.manager.SessionFactory
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.