1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-06 02:24:30 +00:00

Merge pull request #832 from rcordovano/comment_ingest_module_loader

Add design comment to IngestModuleFactoryLoader
This commit is contained in:
Richard Cordovano
2014-07-18 16:48:57 -04:00

View File

@@ -54,6 +54,16 @@ final class IngestModuleFactoryLoader {
return instance;
}
/**
* Get the currently available set of ingest module factories. The factories
* are not cached between calls since NetBeans modules with classes labeled
* as IngestModuleFactory service providers and/or Python scripts defining
* classes derived from IngestModuleFactory may be added or removed between
* invocations.
*
* @return A list of objects that implement the IngestModuleFactory
* interface.
*/
synchronized List<IngestModuleFactory> getIngestModuleFactories() {
// Discover the ingest module factories, making sure that there are no
// duplicate module display names. The duplicates requirement could be
@@ -109,4 +119,4 @@ final class IngestModuleFactoryLoader {
return orderedModuleFactories;
}
}
}