Class ModuleControllerImpl

  • All Implemented Interfaces:
    ModuleController

    public class ModuleControllerImpl
    extends Object
    implements ModuleController
    An object of this types contains a PepperModule and handles as a connector between such an object and the Pepper framework.
    Author:
    Florian Zipser
    • Field Detail

      • id

        protected String id
        id of this object
      • sCorpusGraph

        protected volatile org.corpus_tools.salt.common.SCorpusGraph sCorpusGraph
        The SCorpusGraph object to be filled.
      • executor

        protected ExecutorService executor
        Executor, to create and manage threads for import of corpus structure and import of document structure
      • busyLock

        protected ReentrantLock busyLock
        A lock determining, whether this object currently is busy with importing corpus structure or importing document structure.
    • Constructor Detail

      • ModuleControllerImpl

        public ModuleControllerImpl​(String id)
        Creates an instance of ModuleControllerImpl. Sets the internal id to the passed one. Note: the id is unchangeable.
        Parameters:
        id - identifier of this object. Id can neither be null nor empty.