@Configuration @EnableAsync public class SpringConfiguration extends Object implements org.springframework.scheduling.annotation.AsyncConfigurer
Constructor and Description |
---|
SpringConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.j256.ormlite.dao.Dao<Crawl,Long> |
createCrawlDao() |
com.j256.ormlite.dao.Dao<NutchInstance,Long> |
createNutchDao() |
com.j256.ormlite.dao.Dao<SeedList,Long> |
createSeedListDao() |
com.j256.ormlite.dao.Dao<SeedUrl,Long> |
createSeedUrlDao() |
CustomTableCreator |
createTableCreator() |
Executor |
getAsyncExecutor() |
com.j256.ormlite.jdbc.JdbcConnectionSource |
getConnectionSource() |
CustomDaoFactory |
getDaoFactory() |
public Executor getAsyncExecutor()
getAsyncExecutor
in interface org.springframework.scheduling.annotation.AsyncConfigurer
@Bean public com.j256.ormlite.jdbc.JdbcConnectionSource getConnectionSource() throws SQLException
SQLException
@Bean public CustomDaoFactory getDaoFactory() throws SQLException
SQLException
@Bean public com.j256.ormlite.dao.Dao<NutchInstance,Long> createNutchDao() throws SQLException
SQLException
@Bean public com.j256.ormlite.dao.Dao<SeedList,Long> createSeedListDao() throws SQLException
SQLException
@Bean public com.j256.ormlite.dao.Dao<SeedUrl,Long> createSeedUrlDao() throws SQLException
SQLException
@Bean public com.j256.ormlite.dao.Dao<Crawl,Long> createCrawlDao() throws SQLException
SQLException
@Bean public CustomTableCreator createTableCreator() throws SQLException
SQLException
Copyright © 2021 The Apache Software Foundation