Class ScraperModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public final class ScraperModule
    extends com.google.inject.AbstractModule
    Guice module for Web-Harvest configuration. Refactored to use smaller, focused methods for better maintainability.
    Since:
    2.1.0-SNAPSHOT
    Author:
    Robert Bala
    • Constructor Detail

      • ScraperModule

        public ScraperModule​(String workingDir)
        Creates a ScraperModule with default configuration.
        Parameters:
        workingDir - the working directory
    • Method Detail

      • configure

        protected void configure()
        Specified by:
        configure in class com.google.inject.AbstractModule
      • bindDBConnectionFactory

        protected void bindDBConnectionFactory()
      • bindScraperContext

        protected void bindScraperContext()
      • bindDebugFileLogger

        protected void bindDebugFileLogger()
      • bindStatusHolder

        protected void bindStatusHolder()
      • bindConfigParser

        protected void bindConfigParser()