org.jbpm.test
Class KnowledgeSessionCleanup
java.lang.Object
org.jbpm.test.KnowledgeSessionCleanup
- All Implemented Interfaces:
- org.junit.rules.MethodRule
public class KnowledgeSessionCleanup
- extends Object
- implements org.junit.rules.MethodRule
Method Summary |
static void |
addKnowledgeSessionForCleanup(org.kie.internal.runtime.StatefulKnowledgeSession ksession)
|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
knowledgeSessionSetLocal
protected static ThreadLocal<Set<org.kie.internal.runtime.StatefulKnowledgeSession>> knowledgeSessionSetLocal
KnowledgeSessionCleanup
public KnowledgeSessionCleanup()
addKnowledgeSessionForCleanup
public static void addKnowledgeSessionForCleanup(org.kie.internal.runtime.StatefulKnowledgeSession ksession)
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target)
- Specified by:
apply
in interface org.junit.rules.MethodRule
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.