|
COSMOS ${releaseVersion} resource-modeling Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.repository.provisional.core.SMLRepositoryFactory
public abstract class SMLRepositoryFactory
Clients are expected to use this factory class to create an instance of a repository.
An instance can be created by either invoking createRepository() or passing
a specific Properties to createRepository(Properties).
| Constructor Summary | |
|---|---|
SMLRepositoryFactory()
|
|
| Method Summary | |
|---|---|
static ISMLRepository |
createRepository()
An instance of a repository will be created by first checking the system property to determine if it?s set to a class name. |
static ISMLRepository |
createRepository(java.util.Properties properties)
Creates an instance of a repository using a specific properties file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SMLRepositoryFactory()
| Method Detail |
|---|
public static ISMLRepository createRepository()
throws MissingRepositoryException
MissingRepositoryException is thrown.
MissingRepositoryException - If there are no repositories found
public static ISMLRepository createRepository(java.util.Properties properties)
throws MissingRepositoryException
properties - The properties file
MissingRepositoryException - If no implementation is found
|
COSMOS ${releaseVersion} resource-modeling Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||