Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.objectstyle.cayenne.project
Class ProjectConfiguration

    java.lang.Object
      org.objectstyle.cayenne.conf.Configuration
          org.objectstyle.cayenne.conf.DefaultConfiguration
              org.objectstyle.cayenne.conf.FileConfiguration
                  org.objectstyle.cayenne.project.ProjectConfiguration

    public class ProjectConfiguration

extends FileConfiguration

Subclass of FileConfiguration used in the project model.

Author:
  Misha Shengaout, Andrei Adamchik

Field Summary

Fields inherited from class org.objectstyle.cayenne.conf.FileConfiguration
`projectFile`

Fields inherited from class org.objectstyle.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.objectstyle.cayenne.conf.FileConfiguration
`addFilesystemPath, addFilesystemPath, getProjectDirectory, getProjectFile`

Methods inherited from class org.objectstyle.cayenne.conf.DefaultConfiguration
`addClassPath, addResourcePath, didInitialize, getDomainConfiguration, getMapConfiguration, getResourceLocator, getViewConfiguration, initialize, setResourceLocator, toString`

Methods inherited from class org.objectstyle.cayenne.conf.Configuration
`addDomain, bootstrapSharedConfiguration, configureCommonLogging, configureCommonLogging, configureLogging, getDataViewLocations, getDomain, getDomain, getDomainConfigurationName, getDomains, getEventManager, getLoaderDelegate, getLoadStatus, getLoggingLevel, getProjectVersion, getResourceLoader, getSaverDelegate, getSharedConfiguration, initializeSharedConfiguration, initializeSharedConfiguration, initializeSharedConfiguration, installConfigurationShutdownHook, isIgnoringLoadFailures, isLoggingConfigured, loadDataView, loadDataView, removeDomain, setDataSourceFactory, setDataViewLocations, setDomainConfigurationName, setEventManager, setIgnoringLoadFailures, setLoaderDelegate, setLoadStatus, setLoggingConfigured, setLoggingLevel, setProjectVersion, setSaverDelegate, shutdown, uninstallConfigurationShutdownHook`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ProjectConfiguration

    public ProjectConfiguration(java.io.File projectFile)

  Override parent implementation to ignore loading failures.

  See Also:
    `FileConfiguration.FileConfiguration(File)`

Method Detail

### canInitialize

    public boolean canInitialize()

  Override parent implementation to prevent loading of nonexisting files.

  Overrides:
    `canInitialize` in class `FileConfiguration`
  See Also:
    `FileConfiguration.canInitialize()`

### setProjectFile

    protected void setProjectFile(java.io.File projectFile)

  Override parent implementation to allow for null files.

  Overrides:
    `setProjectFile` in class `FileConfiguration`
  See Also:
    `FileConfiguration.setProjectFile(File)`

### getDataSourceFactory

    public DataSourceFactory getDataSourceFactory()

  Returns a DataSource factory for projects.

  Overrides:
    `getDataSourceFactory` in class `Configuration`
  See Also:
    `ProjectDataSourceFactory`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2006 ObjectStyle.org All Rights Reserved.