Uses of Class
org.apache.cayenne.configuration.server.ServerRuntimeBuilder
-
Uses of ServerRuntimeBuilder in org.apache.cayenne.configuration.server
Modifier and TypeMethodDescriptionServerRuntimeBuilder.addConfigs
(String... configurationLocations) ServerRuntimeBuilder.addConfigs
(Collection<String> configurationLocations) ServerRuntimeBuilder.addModules
(Collection<Module> modules) static ServerRuntimeBuilder
ServerRuntime.builder()
Creates a builder of ServerRuntime.static ServerRuntimeBuilder
Creates a builder of ServerRuntime.ServerRuntimeBuilder.dataSource
(DataSource dataSource) Sets a DataSource that will override any DataSources found in the mapping.ServerRuntimeBuilder.disableModulesAutoLoading()
Disables DI module auto-loading.ServerRuntimeBuilder.jdbcDriver
(String driver) Sets a driver Java class for the default DataSource.ServerRuntimeBuilder.jndiDataSource
(String location) Sets JNDI location for the default DataSource.ServerRuntimeBuilder.maxConnections
(int maxConnections) ServerRuntimeBuilder.maxQueueWaitTime
(long maxQueueWaitTime) ServerRuntimeBuilder.minConnections
(int minConnections) Sets a password for the default DataSource.Sets a database URL for the default DataSource.Sets a user name for the default DataSource.ServerRuntimeBuilder.validationQuery
(String validationQuery) Sets a validation query for the default DataSource.