org.kuali.rice.test.lifecycles
Class KEWXmlDataLoaderLifecycle
java.lang.Object
org.kuali.rice.core.api.lifecycle.BaseLifecycle
org.kuali.rice.test.lifecycles.KEWXmlDataLoaderLifecycle
- All Implemented Interfaces:
- Lifecycle
public class KEWXmlDataLoaderLifecycle
- extends BaseLifecycle
A lifecycle for loading KEW XML datasets.
This lifecycle will not be run (even if it is listed in the lifecycles list)
if the 'use.kewXmlmlDataLoaderLifecycle' 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)
Method Summary |
protected void |
loadData()
Does the work of loading the data |
void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEWXmlDataLoaderLifecycle
public KEWXmlDataLoaderLifecycle(String resource)
- Specifies the XML resource to load. The resource path should be in Spring resource notation.
- Parameters:
resource
- the XML resource to load
start
public void start()
throws Exception
- Specified by:
start
in interface Lifecycle
- Overrides:
start
in class BaseLifecycle
- Throws:
Exception
loadData
protected void loadData()
throws Exception
- Does the work of loading the data
- Throws:
Exception
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.