org.semanticdesktop.aperture.crawler
Interface CrawlerRegistry

All Known Implementing Classes:
CrawlerRegistryImpl, DefaultCrawlerRegistry

public interface CrawlerRegistry

An CrawlerRegistry serves as a central registry for registering and obtaining CrawlerFactories.


Method Summary
 void add(CrawlerFactory factory)
          Adds a CrawlerFactory to this registry.
 Set get(URI type)
          Returns all CrawlerFactories that support the specified DataSource type.
 Set getAll()
          Returns all CrawlerFactories registered in this CrawlerRegistry.
 void remove(CrawlerFactory factory)
          Removes a CrawlerFactory from this registry.
 

Method Detail

add

void add(CrawlerFactory factory)
Adds a CrawlerFactory to this registry.


remove

void remove(CrawlerFactory factory)
Removes a CrawlerFactory from this registry.


get

Set get(URI type)
Returns all CrawlerFactories that support the specified DataSource type.

Returns:
A Set of CrawlerFactories whose supported types contain the specified type.

getAll

Set getAll()
Returns all CrawlerFactories registered in this CrawlerRegistry.

Returns:
A Set of CrawlerFactory instances.


Copyright © 2010 Aperture Development Team. All Rights Reserved.