MetaDone
metadone_bundle_repository.TheRepositoryManager Class Reference
Inheritance diagram for metadone_bundle_repository.TheRepositoryManager:
Collaboration diagram for metadone_bundle_repository.TheRepositoryManager:

List of all members.

Public Member Functions

FactoryProject createFactoryProject (TechnoRepository techno, Properties props) throws BadPreCondition
Set< TechnoRepositorygetTechnologies ()
void disposeFactoryProject (FactoryProject factory) throws BadPreCondition
void dispose ()
void addProvider (FactoryProjectProvider fp)
void removeProvider (FactoryProjectProvider fp)

Private Attributes

final Set< FactoryProjectProviderproviders = new HashSet<FactoryProjectProvider>()
final Set< FactoryProjectfactories = new HashSet<FactoryProject>()

Detailed Description

Tracks all the repository providers and implements the RepositoryManager interface.

Author:
ven
kma

Member Function Documentation

void metadone_bundle_repository.TheRepositoryManager.addProvider ( FactoryProjectProvider  fp)
FactoryProject metadone_bundle_repository.TheRepositoryManager.createFactoryProject ( TechnoRepository  techno,
Properties  props 
) throws BadPreCondition
Precondition:
techno != null
Parameters:
technoA constant that denotes the technology to use for managing the repository
propsSet of properties that are specific to the used technology
Returns:
A factory of projects (according to the technology)
Exceptions:
BadPreCondition

Implements metadone_bundle_repository.service.RepositoryManager.

References metadone_bundle_repository.TheRepositoryManager.providers.

void metadone_bundle_repository.TheRepositoryManager.dispose ( )
void metadone_bundle_repository.TheRepositoryManager.disposeFactoryProject ( FactoryProject  factory) throws BadPreCondition
Precondition:
The factory must have been created before by this instance.
Parameters:
factoryThe factory to dispose

Implements metadone_bundle_repository.service.RepositoryManager.

References metadone_bundle_repository.TheRepositoryManager.factories.

Set<TechnoRepository> metadone_bundle_repository.TheRepositoryManager.getTechnologies ( )
Returns:
The set of constants that denote possible technologies to use for managing the repository. The result is not null

Implements metadone_bundle_repository.service.RepositoryManager.

References metadone_bundle_repository.TheRepositoryManager.providers.

void metadone_bundle_repository.TheRepositoryManager.removeProvider ( FactoryProjectProvider  fp)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations