dk.netarkivet.harvester.scheduler
Class HarvestJobManager

java.lang.Object
  extended by dk.netarkivet.common.lifecycle.LifeCycleComponent
      extended by dk.netarkivet.harvester.scheduler.HarvestJobManager
All Implemented Interfaces:
ComponentLifeCycle

public class HarvestJobManager
extends LifeCycleComponent

Handles the dispatching of scheduled harvest to the harvest servers based on the harvests defined in the database.


Constructor Summary
HarvestJobManager()
          Creates the components handling the harvest job management and hooks them up to the HarvestJobManagers lifecycle.
 
Method Summary
 void shutdown()
          The inverse of the start() method.
 
Methods inherited from class dk.netarkivet.common.lifecycle.LifeCycleComponent
addChild, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HarvestJobManager

public HarvestJobManager()
Creates the components handling the harvest job management and hooks them up to the HarvestJobManagers lifecycle.

Method Detail

shutdown

public void shutdown()
Description copied from interface: ComponentLifeCycle
The inverse of the start() method. Contains functionality for deallocation of ressources, clearing data, closing connections, stopping threads, etc

Specified by:
shutdown in interface ComponentLifeCycle
Overrides:
shutdown in class LifeCycleComponent