View Javadoc
1   package fr.ifremer.quadrige3.synchro.server.dao.technical;
2   
3   /*-
4    * #%L
5    * Quadrige3 Core :: Quadrige3 Synchro server
6    * $Id:$
7    * $HeadURL:$
8    * %%
9    * Copyright (C) 2017 Ifremer
10   * %%
11   * This program is free software: you can redistribute it and/or modify
12   * it under the terms of the GNU Affero General Public License as published by
13   * the Free Software Foundation, either version 3 of the License, or
14   * (at your option) any later version.
15   * 
16   * This program is distributed in the hope that it will be useful,
17   * but WITHOUT ANY WARRANTY; without even the implied warranty of
18   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19   * GNU General Public License for more details.
20   * 
21   * You should have received a copy of the GNU Affero General Public License
22   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
23   * #L%
24   */
25  
26  
27  
28  import fr.ifremer.quadrige3.core.config.QuadrigeConfiguration;
29  import org.springframework.beans.factory.annotation.Autowired;
30  import org.springframework.stereotype.Repository;
31  
32  import fr.ifremer.quadrige3.synchro.server.dao.technical.liquibase.Liquibase;
33  
34  /**
35   * Adapt class fr.ifremer.quadrige3.core.dao.technical.hibernate.DatabaseSchemaDaoImpl
36   * to start within Spring but WITHOUT a dataSource bean
37   *
38   * @author Benoit Lavenier <benoit.lavenier@e-is.pro>
39   * @since 1.0
40   */
41  @Repository("databaseSchemaDao")
42  public class DatabaseSchemaDaoImpl extends fr.ifremer.quadrige3.core.dao.technical.hibernate.DatabaseSchemaDaoImpl{
43  
44      /**
45       * <p>Constructor for DatabaseSchemaDaoImpl.</p>
46       *
47       * @param config a {@link QuadrigeConfiguration} object.
48       * @param liquibase a {@link fr.ifremer.quadrige3.synchro.server.dao.technical.liquibase.Liquibase} object.
49       */
50      @Autowired
51      public DatabaseSchemaDaoImpl(QuadrigeConfiguration config, Liquibase liquibase) {
52          super(config, liquibase);
53      }
54  }