org.ektorp.spring
Class InitialDataLoader

java.lang.Object
  extended by 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

Constructor Summary
InitialDataLoader(List<DataLoader> l, org.springframework.core.io.ResourceLoader rl)
           
 
Method Summary
 void afterPropertiesSet()
           
 void loadData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialDataLoader

public InitialDataLoader(List<DataLoader> l,
                         org.springframework.core.io.ResourceLoader rl)
Method Detail

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.