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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static org.slf4j.Logger` | `logger`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DatabaseInitializer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2015. All rights reserved.