@Test void testDirectoryManifestFactory() { this.contextRunner.run( context -> Assertions.assertThat(context).hasSingleBean(DirectoryManifest.Factory.class) ); }
@Bean @ConditionalOnMissingBean(DirectoryManifest.Factory.class) public DirectoryManifest.Factory directoryManifestFactory( final DirectoryManifest.Filter directoryManifestFilter ) { return new DirectoryManifest.Factory(directoryManifestFilter); }
CommonServicesAutoConfiguration { @Bean @ConditionalOnMissingBean(DirectoryManifest.Factory.class) public DirectoryManifest.Factory directoryManifestFactory( final DirectoryManifest.Filter directoryManifestFilter ) { return new DirectoryManifest.Factory(directoryManifestFilter); } }
CommonServicesAutoConfiguration { @Bean @ConditionalOnMissingBean(DirectoryManifest.Factory.class) public DirectoryManifest.Factory directoryManifestFactory( final DirectoryManifest.Filter directoryManifestFilter ) { return new DirectoryManifest.Factory(directoryManifestFilter); }  }
CommonServicesAutoConfiguration { @Bean @ConditionalOnMissingBean(DirectoryManifest.Factory.class) public DirectoryManifest.Factory directoryManifestFactory( final DirectoryManifest.Filter directoryManifestFilter ) { return new DirectoryManifest.Factory(directoryManifestFilter); }  @Bean @Order(FILE_SYSTEM_JOB_ARCHIVER_PRECEDENCE) FileSystemJobArchiverImpl fileSystemJobArchiver(); @Bean @ConditionalOnMissingBean(JobArchiveService.class) JobArchiveService jobArchiveService(
        final List<JobArchiver> jobArchivers,
        final DirectoryManifest.Factory directoryManifestFactory
    ); @Bean @ConditionalOnMissingBean(JobDirectoryManifestCreatorService.class) JobDirectoryManifestCreatorServiceImpl jobDirectoryManifestCreatorService(
        final DirectoryManifest.Factory directoryManifestFactory,
        @Qualifier("jobDirectoryManifestCache") final Cache<Path, DirectoryManifest> cache
    ); @Bean(name = "jobDirectoryManifestCache") @ConditionalOnMissingBean(name = "jobDirectoryManifestCache") Cache<Path, DirectoryManifest> jobDirectoryManifestCache(); @Bean @ConditionalOnMissingBean(DirectoryManifest.Factory.class) DirectoryManifest.Factory directoryManifestFactory(
        final DirectoryManifest.Filter directoryManifestFilter
    ); @Bean @ConditionalOnMissingBean(DirectoryManifest.Filter.class) DirectoryManifest.Filter directoryManifestFilter(final RegexDirectoryManifestProperties properties); }
CommonServicesAutoConfiguration { @Bean @ConditionalOnMissingBean(DirectoryManifest.Factory.class) public DirectoryManifest.Factory directoryManifestFactory( final DirectoryManifest.Filter directoryManifestFilter ) { return new DirectoryManifest.Factory(directoryManifestFilter); }  @Bean @Order(FILE_SYSTEM_JOB_ARCHIVER_PRECEDENCE) FileSystemJobArchiverImpl fileSystemJobArchiver(); @Bean @ConditionalOnMissingBean(JobArchiveService.class) JobArchiveService jobArchiveService(
        final List<JobArchiver> jobArchivers,
        final DirectoryManifest.Factory directoryManifestFactory
    ); @Bean @ConditionalOnMissingBean(JobDirectoryManifestCreatorService.class) JobDirectoryManifestCreatorServiceImpl jobDirectoryManifestCreatorService(
        final DirectoryManifest.Factory directoryManifestFactory,
        @Qualifier("jobDirectoryManifestCache") final Cache<Path, DirectoryManifest> cache
    ); @Bean(name = "jobDirectoryManifestCache") @ConditionalOnMissingBean(name = "jobDirectoryManifestCache") Cache<Path, DirectoryManifest> jobDirectoryManifestCache(); @Bean @ConditionalOnMissingBean(DirectoryManifest.Factory.class) DirectoryManifest.Factory directoryManifestFactory(
        final DirectoryManifest.Filter directoryManifestFilter
    ); @Bean @ConditionalOnMissingBean(DirectoryManifest.Filter.class) DirectoryManifest.Filter directoryManifestFilter(final RegexDirectoryManifestProperties properties); static final int FILE_SYSTEM_JOB_ARCHIVER_PRECEDENCE; }