org.kuali.rice.test.lifecycles
Class KPMEXmlDataLoaderLifecycle

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

public class KPMEXmlDataLoaderLifecycle
extends org.kuali.rice.core.api.lifecycle.BaseLifecycle


Constructor Summary
KPMEXmlDataLoaderLifecycle(String resource)
          Specifies the XML resource to load.
 
Method Summary
protected  void loadData()
          Does the work of loading the data
 void start()
           
 
Methods inherited from class org.kuali.rice.core.api.lifecycle.BaseLifecycle
isStarted, setStarted, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KPMEXmlDataLoaderLifecycle

public KPMEXmlDataLoaderLifecycle(String resource)
Specifies the XML resource to load. The resource path should be in Spring resource notation.

Parameters:
resource - the XML resource to load
Method Detail

start

public void start()
           throws Exception
Specified by:
start in interface org.kuali.rice.core.api.lifecycle.Lifecycle
Overrides:
start in class org.kuali.rice.core.api.lifecycle.BaseLifecycle
Throws:
Exception

loadData

protected void loadData()
                 throws Exception
Does the work of loading the data

Throws:
Exception


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