org.objectweb.cjdbc.scenario.templates
Class SimpleHorizontalTemplate

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
          extended byorg.objectweb.cjdbc.scenario.templates.Template
              extended byorg.objectweb.cjdbc.scenario.templates.SimpleHorizontalTemplate
Direct Known Subclasses:
HorizontalRAIDb1WithCacheTemplate, HorizontalTemplate, HorizontalWithCacheTemplate, HorizontalWithRecoveryTemplate

public class SimpleHorizontalTemplate
extends Template

This class defines a SimpleHorizontalTemplate

Version:
1.0
Author:
Nicolas Modrzyk
See Also:
Serialized Form

Field Summary
protected  ControllerManager cm
           
protected  Controller controller1
           
protected  Controller controller2
           
protected  DatabaseManager hm
           
protected  ComponentInterface hm1
           
protected  ComponentInterface hm2
           
protected  ComponentInterface hm3
           
protected  ComponentInterface hm4
           
protected  VirtualDatabase mainVdb1
           
protected  VirtualDatabase mainVdb2
           
protected  java.lang.String port1
           
protected  java.lang.String port2
           
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
SimpleHorizontalTemplate()
           
 
Method Summary
protected  void setDatabasesUp(java.lang.String databaseFileDesc)
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Template
getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getHypersonicConnection
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
getTextPath, getUserDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cm

protected ControllerManager cm

hm

protected DatabaseManager hm

hm1

protected ComponentInterface hm1

hm2

protected ComponentInterface hm2

hm3

protected ComponentInterface hm3

hm4

protected ComponentInterface hm4

controller1

protected Controller controller1

controller2

protected Controller controller2

mainVdb1

protected VirtualDatabase mainVdb1

mainVdb2

protected VirtualDatabase mainVdb2

port1

protected java.lang.String port1

port2

protected java.lang.String port2
Constructor Detail

SimpleHorizontalTemplate

public SimpleHorizontalTemplate()
Method Detail

setUp

protected void setUp()
Specified by:
setUp in class Template
See Also:
junit.framework.TestCase#setUp()

setDatabasesUp

protected void setDatabasesUp(java.lang.String databaseFileDesc)
                       throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
Specified by:
tearDown in class Template
See Also:
junit.framework.TestCase#tearDown()


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.