Example usage for org.springframework.context Lifecycle interface-usage

List of usage examples for org.springframework.context Lifecycle interface-usage

Introduction

In this page you can find the example usage for org.springframework.context Lifecycle interface-usage.

Usage

From source file net.sf.jabb.util.db.StartAndStopSQL.java

/**
 * Helper class to execute SQL when Spring context starts and stops.
 * It should be used as singleton.
 * 
 * @author James Hu
 *

From source file org.archive.modules.Processor.java

/**
 * A processor of URIs.  The URI provides the context for the process; 
 * settings can be altered based on the URI.
 * 
 * @author pjack
 */

From source file org.archive.crawler.processor.CrawlMapper.java

/**
 * A simple crawl splitter/mapper, dividing up CrawlURIs/CrawlURIs
 * between crawlers by diverting some range of URIs to local log files
 * (which can then be imported to other crawlers). 
 * 
 * May operate on a CrawlURI (typically early in the processing chain) or

From source file au.edu.uq.cmm.paul.Paul.java

/**
 * This class represents the Paul application as a whole, with getters that 
 * allow the different components to access each other.  The class also
 * implements the ACSLib "Service" API.
 * 
 * @author scrawley

From source file org.archive.crawler.framework.Frontier.java

/**
 * An interface for URI Frontiers.
 *
 * <p>A URI Frontier is a pluggable module in Heritrix that maintains the
 * internal state of the crawl. This includes (but is not limited to):
 * <ul>

From source file org.archive.crawler.framework.ActionDirectory.java

/**
 * Directory watched for new files. Depending on their extension, will
 * process with regard to current crawl, and rename with a datestamp 
 * into the 'done' directory. 
 * 
 * Currently supports:

From source file org.archive.crawler.util.BdbUriUniqFilter.java

/**
 * A BDB implementation of an AlreadySeen list.
 * 
 * This implementation performs adequately without blowing out 
 * the heap. See
 * <a href="http://crawler.archive.org/cgi-bin/wiki.pl?AlreadySeen">AlreadySeen</a>.

From source file is.landsbokasafn.crawler.rss.RssCrawlController.java

        CrawlURI.getPersistentDataKeys().add(RSS_SITE);
        CrawlURI.getPersistentDataKeys().add(RSS_URI_TYPE);
        CrawlURI.getPersistentDataKeys().add(RSS_MOST_RECENTLY_SEEN);
        CrawlURI.getPersistentDataKeys().add(RSS_IMPLIED_LINKS);
    }

From source file org.archive.crawler.framework.CheckpointService.java

/**
 * Executes checkpoints, and offers convenience methods for enumerating 
 * available Checkpoints and injecting a recovery-Checkpoint after 
 * build and before launch (setRecoveryCheckpointByName).
 * 
 * Offers optional automatic checkpointing at a configurable interval 

From source file org.archive.modules.fetcher.FetchWhois.java

import com.sleepycat.je.DatabaseException;

/**
 * WHOIS Fetcher (RFC 3912). If this fetcher is enabled, Heritrix will attempt
 * WHOIS lookups on the topmost assigned domain and the IP address of each URL.
 *