org.kuali.rice.test.lifecycles
Class SQLDataLoaderLifecycle

java.lang.Object
  extended by org.kuali.rice.core.api.lifecycle.BaseLifecycle
      extended by org.kuali.rice.test.lifecycles.SQLDataLoaderLifecycle
All Implemented Interfaces:
Lifecycle

public class SQLDataLoaderLifecycle
extends BaseLifecycle

A lifecycle for loading SQL datasets. This lifecycle will not be run (even if it is listed in the lifecycles list) if the 'use.sqlDataLoaderLifecycle' configuration property is defined, and is not 'true'. If the property is omitted the lifecycle runs as normal.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
SQLDataLoaderLifecycle(String filename, String delimiter)
           
 
Method Summary
 void start()
           
 void stop()
           
 
Methods inherited from class org.kuali.rice.core.api.lifecycle.BaseLifecycle
isStarted, setStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLDataLoaderLifecycle

public SQLDataLoaderLifecycle(String filename,
                              String delimiter)
Method Detail

start

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

stop

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


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.