org.drools.persistence
Class SingleSessionCommandService
java.lang.Object
org.drools.persistence.SingleSessionCommandService
- All Implemented Interfaces:
- CommandService, SingleSessionCommandService, org.drools.runtime.CommandExecutor
public class SingleSessionCommandService
- extends Object
- implements SingleSessionCommandService
|
Constructor Summary |
SingleSessionCommandService(Integer sessionId,
KnowledgeBase kbase,
org.drools.runtime.KnowledgeSessionConfiguration conf,
org.drools.runtime.Environment env)
|
SingleSessionCommandService(Integer sessionId,
RuleBase ruleBase,
SessionConfiguration conf,
org.drools.runtime.Environment env)
|
SingleSessionCommandService(KnowledgeBase kbase,
org.drools.runtime.KnowledgeSessionConfiguration conf,
org.drools.runtime.Environment env)
|
SingleSessionCommandService(RuleBase ruleBase,
SessionConfiguration conf,
org.drools.runtime.Environment env)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
txManagerClasses
public static Map<Object,Object> txManagerClasses
SingleSessionCommandService
public SingleSessionCommandService(RuleBase ruleBase,
SessionConfiguration conf,
org.drools.runtime.Environment env)
SingleSessionCommandService
public SingleSessionCommandService(Integer sessionId,
RuleBase ruleBase,
SessionConfiguration conf,
org.drools.runtime.Environment env)
SingleSessionCommandService
public SingleSessionCommandService(KnowledgeBase kbase,
org.drools.runtime.KnowledgeSessionConfiguration conf,
org.drools.runtime.Environment env)
SingleSessionCommandService
public SingleSessionCommandService(Integer sessionId,
KnowledgeBase kbase,
org.drools.runtime.KnowledgeSessionConfiguration conf,
org.drools.runtime.Environment env)
checkEnvironment
public void checkEnvironment(org.drools.runtime.Environment env)
initKsession
protected void initKsession(Integer sessionId,
KnowledgeBase kbase,
org.drools.runtime.KnowledgeSessionConfiguration conf,
PersistenceContext persistenceContext)
initTransactionManager
public void initTransactionManager(org.drools.runtime.Environment env)
getContext
public Context getContext()
- Specified by:
getContext in interface CommandService
execute
public <T> T execute(Command<T> command)
- Specified by:
execute in interface org.drools.runtime.CommandExecutor
dispose
public void dispose()
- Specified by:
dispose in interface SingleSessionCommandService
getSessionId
public int getSessionId()
- Specified by:
getSessionId in interface SingleSessionCommandService
getStatefulKnowledgeSession
public org.drools.runtime.StatefulKnowledgeSession getStatefulKnowledgeSession()
addInterceptor
public void addInterceptor(Interceptor interceptor)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.