org.trails.seeddata
Class SpringSeedEntityInitializer

java.lang.Object
  extended by org.trails.seeddata.SpringSeedEntityInitializer
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.trails.seeddata.SeedDataInitializer

public class SpringSeedEntityInitializer
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware, org.trails.seeddata.SeedDataInitializer


Constructor Summary
SpringSeedEntityInitializer()
           
 
Method Summary
 void init()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setDescriptorService(org.trails.descriptor.DescriptorService descriptorService)
           
 void setPersistenceService(HibernatePersistenceService persistenceService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringSeedEntityInitializer

public SpringSeedEntityInitializer()
Method Detail

setPersistenceService

public void setPersistenceService(HibernatePersistenceService persistenceService)

setDescriptorService

public void setDescriptorService(org.trails.descriptor.DescriptorService descriptorService)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

init

@Transactional
public void init()
Specified by:
init in interface org.trails.seeddata.SeedDataInitializer


Copyright © 2004-2007. All Rights Reserved.