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 in memory store of used sessions. Does not preserve the state
between server restarts or even RuntimeManager
close. For 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(org.kie.internal.runtime.manager.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-2013 JBoss by Red Hat. All Rights Reserved.