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,
org.drools.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(org.drools.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(org.drools.KnowledgeBase kbase,
org.drools.runtime.KnowledgeSessionConfiguration conf,
org.drools.runtime.Environment env)
SingleSessionCommandService
public SingleSessionCommandService(Integer sessionId,
org.drools.KnowledgeBase kbase,
org.drools.runtime.KnowledgeSessionConfiguration conf,
org.drools.runtime.Environment env)
checkEnvironment
public void checkEnvironment(org.drools.runtime.Environment env)
initKsession
public void initKsession(Integer sessionId,
org.drools.KnowledgeBase kbase,
org.drools.runtime.KnowledgeSessionConfiguration conf)
initTransactionManager
public void initTransactionManager(org.drools.runtime.Environment env)
getContext
public Context getContext()
- Specified by:
getContext
in interface CommandService
execute
public <T> T execute(org.drools.command.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
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.