站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by 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
           
 
Constructor Summary
TestEnvironmentSessionHelper()
           
 
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
 

Field Detail

repository

public static javax.jcr.Repository repository
Constructor Detail

TestEnvironmentSessionHelper

public TestEnvironmentSessionHelper()
Method Detail

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.