|
|||||||||
| Home >> All >> org >> jdbf >> engine >> [ repository overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jdbf.engine.repository
Class RepositoryFactory

java.lang.Objectorg.jdbf.engine.repository.RepositoryFactory
- public class RepositoryFactory
- extends java.lang.Object
RepositoryFactory is a factory of Repository.
Collection of Repository are loaded on startup and are putted
in this class so they are available.
| Field Summary | |
private java.util.Map |
repositories
Contains Repository |
| Constructor Summary | |
RepositoryFactory()
Creates a empty object |
|
RepositoryFactory(java.util.Map map)
Creates a object. |
|
| Method Summary | |
void |
addRepository(java.lang.String key,
Repository repository)
Add Repository with the specific key. |
java.util.Map |
getRepositories()
Return a Map of Repository |
Repository |
getRepository(java.lang.String key)
Return the Repository with the name specified in key paramater |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
repositories
private java.util.Map repositories
- Contains Repository
| Constructor Detail |
RepositoryFactory
public RepositoryFactory()
- Creates a empty object
RepositoryFactory
public RepositoryFactory(java.util.Map map)
- Creates a object.
| Method Detail |
addRepository
public void addRepository(java.lang.String key, Repository repository) throws org.jdbf.engine.mapping.MappingException
- Add Repository with the specific key.
getRepository
public Repository getRepository(java.lang.String key)
- Return the Repository with the name specified in key paramater
getRepositories
public java.util.Map getRepositories()
- Return a Map of Repository
|
|||||||||
| Home >> All >> org >> jdbf >> engine >> [ repository overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jdbf.engine.repository.RepositoryFactory