|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.common.webinterface.GUIWebServer
dk.netarkivet.harvester.webinterface.HarvestDefinitionGUI
public class HarvestDefinitionGUI
This class starts a HarvestScheduler and begins scheduling jobs. It also starts a GUI in which new Harvest definitions can be created. Note that this special gui application is really a "hack" to make the webapplications share the same VM as the HarvestScheduler.
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
|
Fields inherited from class dk.netarkivet.common.webinterface.GUIWebServer |
---|
instance |
Method Summary | |
---|---|
void |
cleanup()
Closes the GUI webserver, and nullifies this instance quietly. |
void |
close()
Closes the GUI webserver, stop scheduling, and nullifies this instance. |
static HarvestDefinitionGUI |
getInstance()
Returns the unique instance of this class. |
Methods inherited from class dk.netarkivet.common.webinterface.GUIWebServer |
---|
startServer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log log
Method Detail |
---|
public static HarvestDefinitionGUI getInstance()
IllegalState
- if a GUI is started which is not a
HarvestDefinitionGUIpublic void close()
public void cleanup()
cleanup
in interface CleanupIF
cleanup
in class GUIWebServer
CleanupIF.cleanup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |