public class PersistableRunner extends Object implements org.drools.core.command.SingleSessionCommandService
Modifier and Type | Class and Description |
---|---|
static class |
PersistableRunner.CommandBasedEntryPointCreator |
static class |
PersistableRunner.EndOperationListenerImpl |
class |
PersistableRunner.JpaSessionInitializer |
Constructor and Description |
---|
PersistableRunner(org.kie.api.KieBase kbase,
org.kie.api.runtime.KieSessionConfiguration conf,
org.kie.api.runtime.Environment env) |
PersistableRunner(Long sessionId,
org.kie.api.KieBase kbase,
org.kie.api.runtime.KieSessionConfiguration conf,
org.kie.api.runtime.Environment env) |
Modifier and Type | Method and Description |
---|---|
void |
addInterceptor(org.drools.core.runtime.ChainableRunner interceptor) |
protected void |
addInterceptor(org.drools.core.runtime.ChainableRunner interceptor,
boolean store) |
void |
checkEnvironment(org.kie.api.runtime.Environment env) |
org.kie.api.runtime.RequestContext |
createContext() |
void |
destroy() |
void |
dispose() |
org.kie.api.runtime.RequestContext |
execute(org.kie.api.runtime.Executable executable,
org.kie.api.runtime.RequestContext ctx) |
org.drools.core.runtime.ChainableRunner |
getChainableRunner() |
org.kie.api.runtime.KieSession |
getKieSession() |
Long |
getSessionId() |
protected void |
initExistingKnowledgeSession(Long sessionId,
org.kie.api.KieBase kbase,
org.kie.api.runtime.KieSessionConfiguration conf,
org.drools.persistence.api.PersistenceContext persistenceContext) |
protected void |
initNewKnowledgeSession(org.kie.api.KieBase kbase,
org.kie.api.runtime.KieSessionConfiguration conf) |
void |
initTransactionManager(org.kie.api.runtime.Environment env) |
static boolean |
isSpringTransactionManager(Class<?> clazz) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public PersistableRunner(org.kie.api.KieBase kbase, org.kie.api.runtime.KieSessionConfiguration conf, org.kie.api.runtime.Environment env)
public PersistableRunner(Long sessionId, org.kie.api.KieBase kbase, org.kie.api.runtime.KieSessionConfiguration conf, org.kie.api.runtime.Environment env)
public void checkEnvironment(org.kie.api.runtime.Environment env)
protected void initNewKnowledgeSession(org.kie.api.KieBase kbase, org.kie.api.runtime.KieSessionConfiguration conf)
protected void initExistingKnowledgeSession(Long sessionId, org.kie.api.KieBase kbase, org.kie.api.runtime.KieSessionConfiguration conf, org.drools.persistence.api.PersistenceContext persistenceContext)
public void initTransactionManager(org.kie.api.runtime.Environment env)
public static boolean isSpringTransactionManager(Class<?> clazz)
public org.kie.api.runtime.RequestContext createContext()
createContext
in interface org.kie.api.runtime.ExecutableRunner<org.kie.api.runtime.RequestContext>
public org.drools.core.runtime.ChainableRunner getChainableRunner()
public org.kie.api.runtime.RequestContext execute(org.kie.api.runtime.Executable executable, org.kie.api.runtime.RequestContext ctx)
execute
in interface org.kie.api.runtime.ExecutableRunner<org.kie.api.runtime.RequestContext>
public void dispose()
dispose
in interface org.drools.core.command.SingleSessionCommandService
public void destroy()
destroy
in interface org.drools.core.command.SingleSessionCommandService
public Long getSessionId()
getSessionId
in interface org.drools.core.command.SingleSessionCommandService
public org.kie.api.runtime.KieSession getKieSession()
getKieSession
in interface org.drools.core.command.SingleSessionCommandService
public void addInterceptor(org.drools.core.runtime.ChainableRunner interceptor)
protected void addInterceptor(org.drools.core.runtime.ChainableRunner interceptor, boolean store)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.