|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.conf.Configuration
org.apache.cayenne.conf.DefaultConfiguration
org.apache.cayenne.conf.FileConfiguration
org.apache.cayenne.project.ProjectConfiguration
public class ProjectConfiguration
Subclass of FileConfiguration used in the project model.
Field Summary |
---|
Fields inherited from class org.apache.cayenne.conf.FileConfiguration |
---|
projectFile |
Fields inherited from class org.apache.cayenne.conf.Configuration |
---|
ACCEPT_ALL_DATAVIEWS, configurationShutdownHook, dataDomains, dataViewLocations, DEFAULT_CONFIGURATION_CLASS, DEFAULT_DOMAIN_FILE, DEFAULT_LOGGING_PROPS_FILE, domainConfigurationName, eventManager, ignoringLoadFailures, loaderDelegate, loadStatus, overrideFactory, projectVersion, saverDelegate, sharedConfiguration |
Constructor Summary | |
---|---|
ProjectConfiguration(java.io.File projectFile)
Override parent implementation to ignore loading failures. |
Method Summary | |
---|---|
boolean |
canInitialize()
Override parent implementation to prevent loading of nonexisting files. |
DataSourceFactory |
getDataSourceFactory()
Returns a DataSource factory for projects. |
protected void |
setProjectFile(java.io.File projectFile)
Override parent implementation to allow for null files. |
Methods inherited from class org.apache.cayenne.conf.FileConfiguration |
---|
addFilesystemPath, addFilesystemPath, getProjectDirectory, getProjectFile |
Methods inherited from class org.apache.cayenne.conf.DefaultConfiguration |
---|
addClassPath, addResourcePath, didInitialize, getDomainConfiguration, getMapConfiguration, getResourceLocator, getViewConfiguration, initialize, setResourceLocator, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProjectConfiguration(java.io.File projectFile)
FileConfiguration.FileConfiguration(File)
Method Detail |
---|
public boolean canInitialize()
canInitialize
in class FileConfiguration
FileConfiguration.canInitialize()
protected void setProjectFile(java.io.File projectFile)
setProjectFile
in class FileConfiguration
FileConfiguration.setProjectFile(File)
public DataSourceFactory getDataSourceFactory()
getDataSourceFactory
in class Configuration
ProjectDataSourceFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |