001/**
002 * Copyright 2010 The Kuali Foundation Licensed under the
003 * Educational Community License, Version 2.0 (the "License"); you may
004 * not use this file except in compliance with the License. You may
005 * obtain a copy of the License at
006 *
007 * http://www.osedu.org/licenses/ECL-2.0
008 *
009 * Unless required by applicable law or agreed to in writing,
010 * software distributed under the License is distributed on an "AS IS"
011 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
012 * or implied. See the License for the specific language governing
013 * permissions and limitations under the License.
014 */
015
016package org.kuali.student.common_test_tester.support;
017
018import org.kuali.student.common.test.spring.DaoLoader;
019
020/**
021 * This is test dao loader for MyDao 
022 * 
023 * @author Kuali Rice Team (kuali-rice@googlegroups.com)
024 *
025 */
026@Deprecated
027public class MyDaoLoader extends DaoLoader {
028
029    /**
030     * This overridden method populates the dao
031     * 
032     * @see org.kuali.student.common.test.spring.DaoLoader#run()
033     */
034    @Override
035    public void run() {
036        MyDao myDao = (MyDao)this.getDao();
037        
038        Value value=new Value("loaded-value");
039        myDao.createValue(value);
040    }
041
042}