@Configuration
@EnableAsync
public class SpringConfiguration
extends java.lang.Object
implements org.springframework.scheduling.annotation.AsyncConfigurer
| Constructor and Description |
|---|
SpringConfiguration() |
| 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() |
public java.util.concurrent.Executor getAsyncExecutor()
getAsyncExecutor in interface org.springframework.scheduling.annotation.AsyncConfigurer@Bean
public com.j256.ormlite.jdbc.JdbcConnectionSource getConnectionSource()
throws java.sql.SQLException
java.sql.SQLException@Bean public CustomDaoFactory getDaoFactory() throws java.sql.SQLException
java.sql.SQLException@Bean public com.j256.ormlite.dao.Dao<NutchInstance,java.lang.Long> createNutchDao() throws java.sql.SQLException
java.sql.SQLException@Bean public com.j256.ormlite.dao.Dao<SeedList,java.lang.Long> createSeedListDao() throws java.sql.SQLException
java.sql.SQLException@Bean public com.j256.ormlite.dao.Dao<SeedUrl,java.lang.Long> createSeedUrlDao() throws java.sql.SQLException
java.sql.SQLException@Bean public com.j256.ormlite.dao.Dao<Crawl,java.lang.Long> createCrawlDao() throws java.sql.SQLException
java.sql.SQLException@Bean public CustomTableCreator createTableCreator() throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2019 The Apache Software Foundation