| Modifier and Type | Field and Description |
|---|---|
| private static RepositoryFactories | |
| private ArrayList |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | addRepositoryFactory(RepositoryFactory
the new factory to add factory)Add a new |
| public Iterator | Returns: an iterator or registered factoriesReturns an interator of registered |
| public RepositoryFactory | getFactoryFor(String
type of the repository we request the RepositoryFactory type)Returns a |
| public static RepositoryFactories | Returns: the instance holding factoriesReturn the instance holding registered repository factories |
| _singleton | back to summary |
|---|---|
| private static RepositoryFactories _singleton | |
| factories | back to summary |
|---|---|
| private ArrayList<RepositoryFactory> factories | |
| RepositoryFactories | back to summary |
|---|---|
| private RepositoryFactories() Creates a new instance of RepositoriesFactory | |
| addRepositoryFactory | back to summary |
|---|---|
| public void addRepositoryFactory(RepositoryFactory factory) Add a new
| |
| getFactories | back to summary |
|---|---|
| public Iterator Returns an interator of registered
| |
| getFactoryFor | back to summary |
|---|---|
| public RepositoryFactory getFactoryFor(String type) Returns a
| |
| getInstance | back to summary |
|---|---|
| public static RepositoryFactories getInstance() Return the instance holding registered repository factories
| |