Repository providers

A repository provider (RepositoryProvider) is the central class in the implementation of your repository.  This class is responsible for configuring a project for repository management and providing the necessary hooks for resource modification.  Providers are mapped to a project using project persistent properties.  The mechanism for mapping providers to a project is not central to the team API, but you'll need to be aware of it when filtering out resources in your UI.  For the most part, you'll be using team API to work with projects and associate them to your provider.  

To implement a provider, you must define a repository using org.eclipse.team.core.repository and supply a class derived from  RepositoryProvider.  We'll use the CVS client as an example to see how this works.

 

Copyright IBM Corporation and others 2000, 2003.