MetaDone
metadone_bundle_repository.service.RepositoryManager Interface Reference
Inheritance diagram for metadone_bundle_repository.service.RepositoryManager:

List of all members.

Public Types

enum  TechnoRepository { JPOX, TRANSIENT, HIBERNATE, JPA2 }

Public Member Functions

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

Detailed Description

Author:
ven

Date=06-nov.-07 - 22:45:40 Filename = RepositoryManager.java


Member Enumeration Documentation

Every constant denotes a peristent technology

Enumerator:
JPOX 
TRANSIENT 
HIBERNATE 
JPA2 

Member Function Documentation

FactoryProject metadone_bundle_repository.service.RepositoryManager.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

Implemented in metadone_bundle_repository.TheRepositoryManager.

Referenced by metadone_bundle_metabusiness.TheBusinessManager.createFactory().

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

Implemented in metadone_bundle_repository.TheRepositoryManager.

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

Implemented in metadone_bundle_repository.TheRepositoryManager.

void metadone_bundle_repository.service.RepositoryManager.removeProvider ( FactoryProjectProvider  fp)

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