Add design comment to IngestModuleFactoryLoader

This commit is contained in:
Richard Cordovano 2014-07-18 16:43:31 -04:00
parent bdf9334d22
commit 0d4271a90b

View File

@ -54,6 +54,16 @@ final class IngestModuleFactoryLoader {
return instance; 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() { synchronized List<IngestModuleFactory> getIngestModuleFactories() {
// Discover the ingest module factories, making sure that there are no // Discover the ingest module factories, making sure that there are no
// duplicate module display names. The duplicates requirement could be // duplicate module display names. The duplicates requirement could be