1 24 25 package org.objectweb.cjdbc.scenario.templates; 26 27 import org.objectweb.cjdbc.scenario.tools.components.ComponentInterface; 28 29 36 public abstract class HorizontalWithRecoveryTemplate extends 37 SimpleHorizontalTemplate 38 { 39 40 protected ComponentInterface hm5 = null, hm6 = null; 41 42 45 protected void setUp() 46 { 47 super.setUp(); 48 49 try 50 { 51 hm5 = hm.start("9005"); 52 hm.loaddatabase("9005"); 53 hm6 = hm.start("9006"); 54 hm.loaddatabase("9006"); 55 super.setDatabasesUp("hsqldb-raidb1-distribution-recovery"); 56 } 57 catch (Exception e) 58 { 59 e.printStackTrace(); 60 } 61 } 62 } | Popular Tags |