Class JobRunrSqlStorageProviderFactory


  • @Factory
    @Requires(beans=javax.sql.DataSource.class) @Requires(property="jobrunr.database.type",value="sql",defaultValue="sql")
    public class JobRunrSqlStorageProviderFactory
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jobrunr.storage.StorageProvider sqlStorageProvider​(io.micronaut.context.BeanContext beanContext, org.jobrunr.jobs.mappers.JobMapper jobMapper)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JobRunrSqlStorageProviderFactory

        public JobRunrSqlStorageProviderFactory()
    • Method Detail

      • sqlStorageProvider

        @Singleton
        @Primary
        public org.jobrunr.storage.StorageProvider sqlStorageProvider​(io.micronaut.context.BeanContext beanContext,
                                                                      org.jobrunr.jobs.mappers.JobMapper jobMapper)