org.kuali.student.common.test.spring
Class DaoLoader

java.lang.Object
  extended by org.kuali.student.common.test.spring.DaoLoader

public abstract class DaoLoader
extends Object

Implement this class if you want to load data to a test db using a dao. This is an alternative to using the dao data beans xml file.


Field Summary
(package private)  Object dao
           
 
Constructor Summary
DaoLoader()
           
 
Method Summary
 Object getDao()
           
abstract  void run()
          Implement this method to load data into the db
 void setDao(Object dao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dao

Object dao
Constructor Detail

DaoLoader

public DaoLoader()
Method Detail

setDao

public void setDao(Object dao)

getDao

public Object getDao()

run

public abstract void run()
Implement this method to load data into the db



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