org.kuali.rice.test
Class DerbyDBCreationLifecycle

java.lang.Object
  extended by org.kuali.rice.test.DerbyDBCreationLifecycle
All Implemented Interfaces:
Lifecycle

public class DerbyDBCreationLifecycle
extends Object
implements Lifecycle


Field Summary
private static org.apache.log4j.Logger LOG
           
private  String sqlFile
           
 
Constructor Summary
DerbyDBCreationLifecycle(String sqlFile)
           
 
Method Summary
 String getSqlFile()
           
private  boolean isDerbyDBReadyForTests()
           
protected  boolean isDoingDerby()
           
 boolean isStarted()
           
 void setSqlFile(String sqlFile)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

sqlFile

private String sqlFile
Constructor Detail

DerbyDBCreationLifecycle

public DerbyDBCreationLifecycle(String sqlFile)
Method Detail

isStarted

public boolean isStarted()
Specified by:
isStarted in interface Lifecycle

start

public void start()
           throws Exception
Specified by:
start in interface Lifecycle
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Lifecycle
Throws:
Exception

isDerbyDBReadyForTests

private boolean isDerbyDBReadyForTests()

isDoingDerby

protected boolean isDoingDerby()

getSqlFile

public String getSqlFile()

setSqlFile

public void setSqlFile(String sqlFile)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.