org.ektorp.spring
Class InitialDataLoader
java.lang.Object
org.ektorp.spring.InitialDataLoader
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
@Component(value="initialDataLoader")
public class InitialDataLoader
- extends Object
- implements org.springframework.beans.factory.InitializingBean
Multi-threaded data loader.
Will look up all components in the application context that implements the org.ektorp.dataload.DataLoader interface.
- Author:
- henrik lundgren
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitialDataLoader
public InitialDataLoader(List<DataLoader> l,
org.springframework.core.io.ResourceLoader rl)
loadData
public void loadData()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2011. All Rights Reserved.