@Bean @ConditionalOnMissingBean public SourceFolderUrlFilter remoteRestartSourceFolderUrlFilter() { return new DefaultSourceFolderUrlFilter(); }
@Bean @ConditionalOnMissingBean public HttpRestartServer remoteRestartHttpRestartServer( SourceFolderUrlFilter sourceFolderUrlFilter) { return new HttpRestartServer(sourceFolderUrlFilter); }
@Bean public HttpRestartServer remoteRestartHttpRestartServer() { SourceFolderUrlFilter sourceFolderUrlFilter = mock( SourceFolderUrlFilter.class); return new MockHttpRestartServer(sourceFolderUrlFilter); }
MockHttpRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter) { super(sourceFolderUrlFilter); }