mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-09 07:24:41 +00:00
pull Lifecycle interface up to interface
This commit is contained in:
1 parent
35fbf91626
commit
25b5da8c5b
2 files changed
+2
-3
No files matched your search
@@ -35,6 +35,7 @@ import org.archive.modules.fetcher.FetchStats;
|
||||
import org.archive.net.UURI;
|
||||
import org.archive.util.MultiReporter;
|
||||
import org.json.JSONException;
|
||||
import org.springframework.context.Lifecycle;
|
||||
|
||||
|
||||
/**
|
||||
@@ -105,7 +106,7 @@ import org.json.JSONException;
|
||||
* @see org.archive.crawler.framework.ToeThread
|
||||
* @see org.archive.crawler.settings.ModuleType
|
||||
*/
|
||||
public interface Frontier extends MultiReporter {
|
||||
public interface Frontier extends Lifecycle, MultiReporter {
|
||||
|
||||
/**
|
||||
* Get the next URI that should be processed. If no URI becomes availible
|
||||
|
||||
@@ -91,7 +91,6 @@ import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.context.Lifecycle;
|
||||
|
||||
/**
|
||||
* Shared facilities for Frontier implementations.
|
||||
@@ -101,7 +100,6 @@ import org.springframework.context.Lifecycle;
|
||||
public abstract class AbstractFrontier
|
||||
implements Frontier,
|
||||
Serializable,
|
||||
Lifecycle, // InitializingBean,
|
||||
SeedListener,
|
||||
HasKeyedProperties,
|
||||
ExtractorParameters {
|
||||
|
||||
Reference in new issue
Block a user