Class UpdateService

java.lang.Object
org.owasp.dependencycheck.data.update.UpdateService

@NotThreadSafe public class UpdateService extends Object
The CachedWebDataSource Service Loader. This class loads all services that implement CachedWebDataSource.
Author:
Jeremy Long
  • Constructor Details

    • UpdateService

      public UpdateService(ClassLoader classLoader)
      Creates a new instance of UpdateService.
      Parameters:
      classLoader - the ClassLoader to use when dynamically loading Analyzer and Update services
  • Method Details

    • getDataSources

      public Iterator<CachedWebDataSource> getDataSources()
      Returns an Iterator for all instances of the CachedWebDataSource interface.
      Returns:
      an iterator of CachedWebDataSource.