com.gisgraphy.domain.repository
Class DatabaseInitializer
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
DatabaseInitializer
public DatabaseInitializer()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2012. All Rights Reserved.