org.exoplatform.jcr.benchmark
Class JCRDriver

java.lang.Object
  extended by com.sun.japex.JapexDriverBase
      extended by org.exoplatform.jcr.benchmark.JCRDriver
All Implemented Interfaces:
com.sun.japex.JapexDriver, com.sun.japex.Params, java.util.concurrent.Callable<java.lang.Object>

public class JCRDriver
extends com.sun.japex.JapexDriverBase

Created by The eXo Platform SAS .

Version:
$Id: JCRDriver.java 35176 2009-08-07 13:54:59Z pnedonosko $
Author:
Gennady Azarenkov

Field Summary
protected  JCRTestContext context
           
protected  javax.jcr.Credentials credentials
           
protected  javax.jcr.Session oneSession
           
protected  javax.jcr.Repository repository
           
protected  java.lang.String workspace
           
 
Fields inherited from class com.sun.japex.JapexDriverBase
_driver, _endTime, _needWarmup, _testCase, _testSuite
 
Constructor Summary
JCRDriver()
           
 
Method Summary
 void finish(com.sun.japex.TestCase tc)
           
 void initializeDriver()
           
 void prepare(com.sun.japex.TestCase tc)
           
 void run(com.sun.japex.TestCase tc)
           
 
Methods inherited from class com.sun.japex.JapexDriverBase
call, finish, getBooleanParam, getDoubleParam, getIntParam, getLongParam, getParam, getTestSuite, hasParam, prepare, run, setBooleanParam, setDoubleParam, setDriver, setEndTime, setIntParam, setLongParam, setParam, setTestCase, setTestSuite, terminateDriver, warmup, warmup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repository

protected javax.jcr.Repository repository

oneSession

protected javax.jcr.Session oneSession

credentials

protected javax.jcr.Credentials credentials

workspace

protected java.lang.String workspace

context

protected JCRTestContext context
Constructor Detail

JCRDriver

public JCRDriver()
Method Detail

initializeDriver

public void initializeDriver()
Specified by:
initializeDriver in interface com.sun.japex.JapexDriver
Overrides:
initializeDriver in class com.sun.japex.JapexDriverBase

prepare

public void prepare(com.sun.japex.TestCase tc)
Specified by:
prepare in interface com.sun.japex.JapexDriver
Overrides:
prepare in class com.sun.japex.JapexDriverBase

run

public void run(com.sun.japex.TestCase tc)
Specified by:
run in interface com.sun.japex.JapexDriver
Overrides:
run in class com.sun.japex.JapexDriverBase

finish

public void finish(com.sun.japex.TestCase tc)
Specified by:
finish in interface com.sun.japex.JapexDriver
Overrides:
finish in class com.sun.japex.JapexDriverBase


Copyright © 2010 eXo Platform SAS. All Rights Reserved.