org.apache.nutch.webui.config

## Class SpringConfiguration

- java.lang.Object
- - org.apache.nutch.webui.config.SpringConfiguration

- All Implemented Interfaces:
    org.springframework.scheduling.annotation.AsyncConfigurer

      @Configuration
       @EnableAsync
      public class SpringConfiguration
      extends java.lang.Object
      implements org.springframework.scheduling.annotation.AsyncConfigurer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SpringConfiguration()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.j256.ormlite.dao.Dao<Crawl,java.lang.Long>` | `createCrawlDao()`
    `com.j256.ormlite.dao.Dao<NutchInstance,java.lang.Long>` | `createNutchDao()`
    `com.j256.ormlite.dao.Dao<SeedList,java.lang.Long>` | `createSeedListDao()`
    `com.j256.ormlite.dao.Dao<SeedUrl,java.lang.Long>` | `createSeedUrlDao()`
    `CustomTableCreator` | `createTableCreator()`
    `java.util.concurrent.Executor` | `getAsyncExecutor()`
    `com.j256.ormlite.jdbc.JdbcConnectionSource` | `getConnectionSource()`
    `CustomDaoFactory` | `getDaoFactory()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SpringConfiguration

          public SpringConfiguration()

  - ### Method Detail

    - #### getAsyncExecutor

          public java.util.concurrent.Executor getAsyncExecutor()

      Specified by:
        `getAsyncExecutor` in interface `org.springframework.scheduling.annotation.AsyncConfigurer`

    - #### getConnectionSource

          @Bean
          public com.j256.ormlite.jdbc.JdbcConnectionSource getConnectionSource()
                                                                               throws java.sql.SQLException

      Throws:
        `java.sql.SQLException`

    - #### getDaoFactory

          @Bean
          public CustomDaoFactory getDaoFactory()
                                               throws java.sql.SQLException

      Throws:
        `java.sql.SQLException`

    - #### createNutchDao

          @Bean
          public com.j256.ormlite.dao.Dao<NutchInstance,java.lang.Long> createNutchDao()
                                                                                      throws java.sql.SQLException

      Throws:
        `java.sql.SQLException`

    - #### createSeedListDao

          @Bean
          public com.j256.ormlite.dao.Dao<SeedList,java.lang.Long> createSeedListDao()
                                                                                    throws java.sql.SQLException

      Throws:
        `java.sql.SQLException`

    - #### createSeedUrlDao

          @Bean
          public com.j256.ormlite.dao.Dao<SeedUrl,java.lang.Long> createSeedUrlDao()
                                                                                  throws java.sql.SQLException

      Throws:
        `java.sql.SQLException`

    - #### createCrawlDao

          @Bean
          public com.j256.ormlite.dao.Dao<Crawl,java.lang.Long> createCrawlDao()
                                                                              throws java.sql.SQLException

      Throws:
        `java.sql.SQLException`

    - #### createTableCreator

          @Bean
          public CustomTableCreator createTableCreator()
                                                      throws java.sql.SQLException

      Throws:
        `java.sql.SQLException`

Copyright © 2019 The Apache Software Foundation