com.gisgraphy.domain.repository
Class DatabaseInitializer

java.lang.Object
  extended by com.gisgraphy.domain.repository.DatabaseInitializer
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@Component
public class DatabaseInitializer
extends Object
implements org.springframework.beans.factory.InitializingBean

Do some initializing stuff on the database (create normalize_text function)

Author:
David Masclet

Field Summary
protected static org.slf4j.Logger logger
           
 
Constructor Summary
DatabaseInitializer()
           
 
Method Summary
 void afterPropertiesSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.slf4j.Logger logger
Constructor Detail

DatabaseInitializer

public DatabaseInitializer()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2012. All Rights Reserved.