# Uses of Class
org.apache.cayenne.runtime.CayenneRuntimeBuilder

Packages that use CayenneRuntimeBuilder
Package
Description
org.apache.cayenne.configuration.server
This is a deprecated package that contained runtime creation code.
org.apache.cayenne.runtime
API related to `CayenneRuntime` creation.

- ## Uses of CayenneRuntimeBuilder in org.apache.cayenne.configuration.server

  Methods in org.apache.cayenne.configuration.server that return CayenneRuntimeBuilder
  Modifier and Type
  Method
  Description
  `static CayenneRuntimeBuilder`
  ServerRuntime.`builder()`
  Deprecated, for removal: This API element is subject to removal in a future version.
  since 5.0, use `CayenneRuntime.builder()` instead
  `static CayenneRuntimeBuilder`
  ServerRuntime.`builder(String name)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  since 5.0, use `CayenneRuntime.builder(String)` instead

- ## Uses of CayenneRuntimeBuilder in org.apache.cayenne.runtime

  Methods in org.apache.cayenne.runtime that return CayenneRuntimeBuilder
  Modifier and Type
  Method
  Description
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`addConfig(String configurationLocation)`
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`addConfigs(String... configurationLocations)`
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`addConfigs(Collection<String> configurationLocations)`
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`addModule(Module module)`
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`addModules(Collection<Module> modules)`
  `static CayenneRuntimeBuilder`
  CayenneRuntime.`builder()`
  Creates a builder of CayenneRuntime.
  `static CayenneRuntimeBuilder`
  CayenneRuntime.`builder(String name)`
  Creates a builder of CayenneRuntime.
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`dataSource(DataSource dataSource)`
  Sets a DataSource that will override any DataSources found in the mapping.
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`disableModulesAutoLoading()`
  Disables DI module auto-loading.
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`jdbcDriver(String driver)`
  Sets a driver Java class for the default DataSource.
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`maxConnections(int maxConnections)`
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`maxQueueWaitTime(long maxQueueWaitTime)`
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`minConnections(int minConnections)`
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`password(String password)`
  Sets a password for the default DataSource.
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`url(String url)`
  Sets a database URL for the default DataSource.
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`user(String user)`
  Sets a user name for the default DataSource.
  `CayenneRuntimeBuilder`
  CayenneRuntimeBuilder.`validationQuery(String validationQuery)`
  Sets a validation query for the default DataSource.