net.sf.farrago.catalog
Class FarragoModelLoader
java.lang.Object
net.sf.farrago.catalog.FarragoModelLoader
public class FarragoModelLoader
- extends Object
FarragoModelLoader is a utility class for loading the catalog model.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/catalog/FarragoModelLoader.java#21 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tracer
private static final Logger tracer
mdrRepos
protected EnkiMDRepository mdrRepos
openMdrReposSession
private boolean openMdrReposSession
storageFactoryClassName
private String storageFactoryClassName
storageProps
private final Properties storageProps
farragoProperties
private final FarragoProperties farragoProperties
FarragoModelLoader
public FarragoModelLoader()
FarragoModelLoader
public FarragoModelLoader(FarragoProperties farragoProperties)
close
public void close()
closeMdrSession
public void closeMdrSession()
getMdrRepos
public MDRepository getMdrRepos()
loadModel
public FarragoPackage loadModel(String extentName,
boolean userRepos)
initStorage
public void initStorage(boolean userRepos)
getSystemReposFile
public File getSystemReposFile()
setSystemReposProperties
private void setSystemReposProperties()
throws IOException
- Throws:
IOException
setUserReposProperties
private void setUserReposProperties()
setStorageProperty
private void setStorageProperty(String name,
String value)
getStorageProperties
public Properties getStorageProperties()
getStorageFactoryClassName
public String getStorageFactoryClassName()
getFarragoProperties
public FarragoProperties getFarragoProperties()