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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
knowledgeSessionSetLocal
protected static ThreadLocal<Set<StatefulKnowledgeSession>> knowledgeSessionSetLocal
KnowledgeSessionCleanup
public KnowledgeSessionCleanup()
addKnowledgeSessionForCleanup
public static void addKnowledgeSessionForCleanup(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-2012 JBoss by Red Hat. All Rights Reserved.