当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
TestEnvironmentSessionHelper (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.brms.server.util
Class TestEnvironmentSessionHelper
java.lang.Object
org.drools.brms.server.util.TestEnvironmentSessionHelper
public class TestEnvironmentSessionHelper
- extends Object
This is only to be used for testing, eg in hosted mode, or unit tests.
- Author:
- Michael Neale
Field Summary |
static javax.jcr.Repository |
repository
|
Method Summary |
static javax.jcr.Session |
getSession()
|
static javax.jcr.Session |
getSession(boolean erase)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repository
public static javax.jcr.Repository repository
TestEnvironmentSessionHelper
public TestEnvironmentSessionHelper()
getSession
public static javax.jcr.Session getSession()
throws Exception
- Throws:
Exception
getSession
public static javax.jcr.Session getSession(boolean erase)
throws Exception
- Throws:
Exception
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.