- java.lang.Object
- 
- org.jooq.tools.jdbc.MockConfiguration
 
- 
- All Implemented Interfaces:
- Serializable,- Configuration
 
 public class MockConfiguration extends Object implements Configuration A mock configuration.This Configurationwraps a delegateConfigurationand wraps allConnectionProviderreferences inMockConnectionProvider.- Author:
- Lukas Eder
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MockConfiguration(Configuration delegate, MockDataProvider provider)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Clockclock()Get this configuration'sClock, which is used for optimistic locking, transaction time, and other time-depending features.ConnectionProviderconnectionProvider()Get this configuration's underlying connection provider.ConverterProviderconverterProvider()Get the configuredConverterProviderfrom this configuration.Map<Object,Object>data()Get all custom data from thisConfiguration.Objectdata(Object key)Get some custom data from thisConfiguration.Objectdata(Object key, Object value)Set some custom data to thisConfiguration.Configurationderive()Create a derived configuration from this one, without changing any properties.Configurationderive(Connection newConnection)Create a derived configuration from this one, with a new connection wrapped in aDefaultConnectionProvider.Configurationderive(Clock newClock)Create a derived configuration from this one, with a newClock.Configurationderive(Executor newExecutor)Create a derived configuration from this one, with a new executor.Configurationderive(DataSource newDataSource)Create a derived configuration from this one, with a new data source wrapped in aDataSourceConnectionProvider.Configurationderive(Settings newSettings)Create a derived configuration from this one, with new settings.Configurationderive(ConnectionProvider newConnectionProvider)Create a derived configuration from this one, with a new connection provider.Configurationderive(ConverterProvider newConverterProvider)Create a derived configuration from this one, with new converter provider.Configurationderive(DiagnosticsListener... newDiagnosticsListeners)Create a derived configuration from this one, with new diagnostics listeners.Configurationderive(DiagnosticsListenerProvider... newDiagnosticsListenerProviders)Create a derived configuration from this one, with new diagnostics listener providers.Configurationderive(ExecuteListener... newExecuteListeners)Create a derived configuration from this one, with new execute listeners.Configurationderive(ExecuteListenerProvider... newExecuteListenerProviders)Create a derived configuration from this one, with new execute listener providers.Configurationderive(ExecutorProvider newExecutorProvider)Create a derived configuration from this one, with a new executor provider.Configurationderive(MetaProvider newMetaProvider)Create a derived configuration from this one, with a new meta provider.Configurationderive(MigrationListener... newMigrationListeners)Create a derived configuration from this one, with new migration listeners.Configurationderive(MigrationListenerProvider... newMigrationListenerProviders)Create a derived configuration from this one, with new migration listener providers.Configurationderive(RecordListener... newRecordListeners)Create a derived configuration from this one, with new record listeners.Configurationderive(RecordListenerProvider... newRecordListenerProviders)Create a derived configuration from this one, with new record listener providers.Configurationderive(RecordMapper<?,?> newRecordMapper)Create a derived configuration from this one, with a new record mapper.Configurationderive(RecordMapperProvider newRecordMapperProvider)Create a derived configuration from this one, with a new record mapper provider.Configurationderive(RecordUnmapper<?,?> newRecordUnmapper)Create a derived configuration from this one, with a new record unmapper.Configurationderive(RecordUnmapperProvider newRecordUnmapperProvider)Create a derived configuration from this one, with a new record unmapper provider.Configurationderive(SQLDialect newDialect)Create a derived configuration from this one, with a new dialect.Configurationderive(TransactionListener... newTransactionListeners)Create a derived configuration from this one, with new transaction listeners.Configurationderive(TransactionListenerProvider... newTransactionListenerProviders)Create a derived configuration from this one, with new transaction listener providers.Configurationderive(TransactionProvider newTransactionProvider)Create a derived configuration from this one, with a new transaction provider.Configurationderive(Unwrapper newUnwrapper)Create a derived configuration from this one, with a new unwrapper.Configurationderive(UnwrapperProvider newUnwrapperProvider)Create a derived configuration from this one, with a new unwrapper provider.Configurationderive(VersionProvider newVersionProvider)Create a derived configuration from this one, with a new version provider.Configurationderive(VisitListener... newVisitListeners)Create a derived configuration from this one, with new visit listeners.Configurationderive(VisitListenerProvider... newVisitListenerProviders)Create a derived configuration from this one, with new visit listener providers.DiagnosticsListenerProvider[]diagnosticsListenerProviders()Get the configuredDiagnosticsListenerProviders from this configuration.SQLDialectdialect()Retrieve the configured dialect.DSLContextdsl()Wrap thisConfigurationin aDSLContext, providing access to the configuration-contextual DSL to construct executable queries.ExecuteListenerProvider[]executeListenerProviders()Get the configuredExecuteListenerProviders from this configuration.ExecutorProviderexecutorProvider()Get this configuration's underlying executor provider.SQLDialectfamily()Retrieve the family of the configured dialect.ConnectionProviderinterpreterConnectionProvider()Get this configuration's underlying interpreter connection provider, which provides connections for DDL interpretation.MetaProvidermetaProvider()Get this configuration's underlying meta provider.MigrationListenerProvider[]migrationListenerProviders()Get the configuredMigrationListenerProviders from this configuration.RecordListenerProvider[]recordListenerProviders()Get the configuredRecordListenerProviders from this configuration.RecordMapperProviderrecordMapperProvider()Get this configuration's underlying record mapper provider.RecordUnmapperProviderrecordUnmapperProvider()Get this configuration's underlying record unmapper provider.SchemaMappingschemaMapping()Retrieve the configured schema mapping.Configurationset(Connection newConnection)Change this configuration to hold a new connection wrapped in aDefaultConnectionProvider.Configurationset(Clock newClock)Change this configuration to hold a newClock.Configurationset(Executor newExecutor)Change this configuration to hold a new executor.Configurationset(DataSource newDataSource)Change this configuration to hold a new data source wrapped in aDataSourceConnectionProvider.Configurationset(Settings newSettings)Change this configuration to hold a new settings.Configurationset(ConnectionProvider newConnectionProvider)Change this configuration to hold a new connection provider.Configurationset(ConverterProvider newConverterProvider)Change this configuration to hold a new converter provider.Configurationset(DiagnosticsListener... newDiagnosticsListeners)Change this configuration to hold a new diagnostics listeners.Configurationset(DiagnosticsListenerProvider... newDiagnosticsListenerProviders)Change this configuration to hold new diagnostics listener providers.Configurationset(ExecuteListener... newExecuteListeners)Change this configuration to hold a new execute listeners.Configurationset(ExecuteListenerProvider... newExecuteListenerProviders)Change this configuration to hold a new execute listener providers.Configurationset(ExecutorProvider newExecutorProvider)Change this configuration to hold a new executor provider.Configurationset(MetaProvider newMetaProvider)Change this configuration to hold a new meta provider.Configurationset(MigrationListener... newMigrationListeners)Change this configuration to hold a new migration listeners.Configurationset(MigrationListenerProvider... newMigrationListenerProviders)Change this configuration to hold a new migration listener providers.Configurationset(RecordListener... newRecordListeners)Change this configuration to hold a new record listeners.Configurationset(RecordListenerProvider... newRecordListenerProviders)Change this configuration to hold a new record listener providers.Configurationset(RecordMapper<?,?> newRecordMapper)Change this configuration to hold a new record mapper.Configurationset(RecordMapperProvider newRecordMapperProvider)Change this configuration to hold a new record mapper provider.Configurationset(RecordUnmapper<?,?> newRecordUnmapper)Change this configuration to hold a new record unmapper.Configurationset(RecordUnmapperProvider newRecordUnmapperProvider)Change this configuration to hold a new record unmapper provider.Configurationset(SQLDialect newDialect)Change this configuration to hold a new dialect.Configurationset(TransactionListener... newTransactionListeners)Change this configuration to hold a new transaction listeners.Configurationset(TransactionListenerProvider... newTransactionListenerProviders)Change this configuration to hold a new transaction listener providers.Configurationset(TransactionProvider newTransactionProvider)Change this configuration to hold a new transaction provider.Configurationset(Unwrapper newUnwrapper)Change this configuration to hold a new unwrapper.Configurationset(UnwrapperProvider newUnwrapperProvider)Change this configuration to hold a new unwrapper provider.Configurationset(VersionProvider newVersionProvider)Change this configuration to hold a new version provider.Configurationset(VisitListener... newVisitListeners)Change this configuration to hold a new visit listeners.Configurationset(VisitListenerProvider... newVisitListenerProviders)Change this configuration to hold a new visit listener providers.Settingssettings()Retrieve the runtime configuration settings.ConnectionProvidersystemConnectionProvider()Get this configuration's underlying system connection provider, which provides connections for system tasks.TransactionListenerProvider[]transactionListenerProviders()Get the configuredTransactionListenerProviders from this configuration.TransactionProvidertransactionProvider()Get this configuration's underlying transaction provider.UnwrapperProviderunwrapperProvider()Get the configuredUnwrapperProviderfrom this configuration.VersionProviderversionProvider()Get this configuration's underlying meta provider.VisitListenerProvider[]visitListenerProviders()Get the configuredVisitListenerProviderinstances from this configuration.
 
- 
- 
- 
Constructor Detail- 
MockConfigurationpublic MockConfiguration(Configuration delegate, MockDataProvider provider) 
 
- 
 - 
Method Detail- 
dslpublic DSLContext dsl() Description copied from interface:ConfigurationWrap thisConfigurationin aDSLContext, providing access to the configuration-contextual DSL to construct executable queries.In the DefaultConfigurationimplementation, this is just convenience forDSL.using(Configuration). There's no functional difference between the two methods.- Specified by:
- dslin interface- Configuration
 
 - 
datapublic Map<Object,Object> data() Description copied from interface:ConfigurationGet all custom data from thisConfiguration.This is custom data that was previously set to the configuration using Configuration.data(Object, Object). Use custom data if you want to pass data to your customQueryPartorExecuteListenerobjects to be made available at render, bind, execution, fetch time.See ExecuteListenerfor more details.- Specified by:
- datain interface- Configuration
- Returns:
- The custom data. This is never null
- See Also:
- ExecuteListener
 
 - 
datapublic Object data(Object key) Description copied from interface:ConfigurationGet some custom data from thisConfiguration.This is custom data that was previously set to the configuration using Configuration.data(Object, Object). Use custom data if you want to pass data to your customQueryPartorExecuteListenerobjects to be made available at render, bind, execution, fetch time.See ExecuteListenerfor more details.- Specified by:
- datain interface- Configuration
- Parameters:
- key- A key to identify the custom data
- Returns:
- The custom data or nullif no such data is contained in thisConfiguration
- See Also:
- ExecuteListener
 
 - 
datapublic Object data(Object key, Object value) Description copied from interface:ConfigurationSet some custom data to thisConfiguration.Use custom data if you want to pass data to your custom QueryPartorExecuteListenerobjects to be made available at render, bind, execution, fetch time.Be sure that your custom data implements Serializableif you want to serialise thisConfigurationor objects referencing thisConfiguration, e.g. yourRecordtypes.See ExecuteListenerfor more details.- Specified by:
- datain interface- Configuration
- Parameters:
- key- A key to identify the custom data
- value- The custom data
- Returns:
- The previously set custom data or nullif no data was previously set for the given key
- See Also:
- ExecuteListener
 
 - 
clockpublic Clock clock() Description copied from interface:ConfigurationGet this configuration'sClock, which is used for optimistic locking, transaction time, and other time-depending features.- Specified by:
- clockin interface- Configuration
 
 - 
connectionProviderpublic ConnectionProvider connectionProvider() Description copied from interface:ConfigurationGet this configuration's underlying connection provider.- Specified by:
- connectionProviderin interface- Configuration
 
 - 
interpreterConnectionProviderpublic ConnectionProvider interpreterConnectionProvider() Description copied from interface:ConfigurationGet this configuration's underlying interpreter connection provider, which provides connections for DDL interpretation.- Specified by:
- interpreterConnectionProviderin interface- Configuration
- See Also:
- DSLContext.meta(Source...)
 
 - 
systemConnectionProviderpublic ConnectionProvider systemConnectionProvider() Description copied from interface:ConfigurationGet this configuration's underlying system connection provider, which provides connections for system tasks.System tasks may include the generation of auxiliary data types or stored procedures, which users may want to generate using a different data source or transaction. By default, this connection provider is the same as Configuration.connectionProvider().- Specified by:
- systemConnectionProviderin interface- Configuration
 
 - 
metaProviderpublic MetaProvider metaProvider() Description copied from interface:ConfigurationGet this configuration's underlying meta provider.- Specified by:
- metaProviderin interface- Configuration
 
 - 
versionProviderpublic VersionProvider versionProvider() Description copied from interface:ConfigurationGet this configuration's underlying meta provider.- Specified by:
- versionProviderin interface- Configuration
 
 - 
executorProviderpublic ExecutorProvider executorProvider() Description copied from interface:ConfigurationGet this configuration's underlying executor provider.Asynchronous operations will call back to this SPI to obtain an executor. This applies, for example, to ResultQuery.fetchAsync().The following logic is applied when resolving the appropriate executor:- If Configuration.executorProvider()does not returnnull, thenExecutorProvider.provide()is called to obtain anExecutorfor the asynchronous task.
- In the jOOQ Java 8 distribution, ForkJoinPool.commonPool()is used ifForkJoinPool.getCommonPoolParallelism()> 1
- A new "one thread per call" Executoris used in any other case.
 The SPI will not be called if an asynchronous operation explicitly overrides the Executor, e.g. as is the case forResultQuery.fetchAsync(Executor).- Specified by:
- executorProviderin interface- Configuration
 
- If 
 - 
transactionProviderpublic TransactionProvider transactionProvider() Description copied from interface:ConfigurationGet this configuration's underlying transaction provider.If no explicit transaction provider was specified, and if Configuration.connectionProvider()is aDefaultConnectionProvider, then this will return aDefaultTransactionProvider.- Specified by:
- transactionProviderin interface- Configuration
 
 - 
recordMapperProviderpublic RecordMapperProvider recordMapperProvider() Description copied from interface:ConfigurationGet this configuration's underlying record mapper provider.- Specified by:
- recordMapperProviderin interface- Configuration
 
 - 
recordUnmapperProviderpublic RecordUnmapperProvider recordUnmapperProvider() Description copied from interface:ConfigurationGet this configuration's underlying record unmapper provider.- Specified by:
- recordUnmapperProviderin interface- Configuration
 
 - 
recordListenerProviderspublic RecordListenerProvider[] recordListenerProviders() Description copied from interface:ConfigurationGet the configuredRecordListenerProviders from this configuration.This method allows for retrieving the configured RecordListenerProviderfrom this configuration. The providers will provide jOOQ withRecordListenerinstances. These instances receive record manipulation notification events every time jOOQ executes queries. jOOQ makes no assumptions about the internal state of these listeners, i.e. listener instances may- share this Configuration's lifecycle (i.e. that of a JDBCConnection, or that of a transaction)
- share the lifecycle of an RecordContext(i.e. that of a single record manipulation)
- follow an entirely different lifecycle.
 - Specified by:
- recordListenerProvidersin interface- Configuration
- Returns:
- The configured set of record listeners.
- See Also:
- RecordListenerProvider,- RecordListener,- RecordContext
 
- share this 
 - 
executeListenerProviderspublic ExecuteListenerProvider[] executeListenerProviders() Description copied from interface:ConfigurationGet the configuredExecuteListenerProviders from this configuration.This method allows for retrieving the configured ExecuteListenerProviderfrom this configuration. The providers will provide jOOQ withExecuteListenerinstances. These instances receive execution lifecycle notification events every time jOOQ executes queries. jOOQ makes no assumptions about the internal state of these listeners, i.e. listener instances may- share this Configuration's lifecycle (i.e. that of a JDBCConnection, or that of a transaction)
- share the lifecycle of an ExecuteContext(i.e. that of a single query execution)
- follow an entirely different lifecycle.
 Note, depending on your Settings.isExecuteLogging(), some additional listeners may be prepended to this list, internally. Those listeners will never be exposed through this method, though.- Specified by:
- executeListenerProvidersin interface- Configuration
- Returns:
- The configured set of execute listeners.
- See Also:
- ExecuteListenerProvider,- ExecuteListener,- ExecuteContext
 
- share this 
 - 
migrationListenerProviderspublic MigrationListenerProvider[] migrationListenerProviders() Description copied from interface:ConfigurationGet the configuredMigrationListenerProviders from this configuration.This method allows for retrieving the configured MigrationListenerProviderfrom this configuration. The providers will provide jOOQ withMigrationListenerinstances. These instances receive migration lifecycle notification events every time jOOQ executes migrations. jOOQ makes no assumptions about the internal state of these listeners, i.e. listener instances may- share this Configuration's lifecycle (i.e. that of a JDBCConnection, or that of a transaction)
- share the lifecycle of an MigrationContext(i.e. that of a single query execution)
- follow an entirely different lifecycle.
 - Specified by:
- migrationListenerProvidersin interface- Configuration
- Returns:
- The configured set of migration listeners.
- See Also:
- MigrationListenerProvider,- MigrationListener,- MigrationContext
 
- share this 
 - 
visitListenerProviderspublic VisitListenerProvider[] visitListenerProviders() Description copied from interface:ConfigurationGet the configuredVisitListenerProviderinstances from this configuration.This method allows for retrieving the configured VisitListenerProviderinstances from this configuration. The providers will provide jOOQ withVisitListenerinstances. These instances receive query rendering lifecycle notification events every time jOOQ renders queries. jOOQ makes no assumptions about the internal state of these listeners, i.e. listener instances may- share this Configuration's lifecycle (i.e. that of a JDBCConnection, or that of a transaction)
- share the lifecycle of an ExecuteContext(i.e. that of a single query execution)
- follow an entirely different lifecycle.
 - Specified by:
- visitListenerProvidersin interface- Configuration
- Returns:
- The configured set of visit listeners.
- See Also:
- VisitListenerProvider,- VisitListener,- VisitContext
 
- share this 
 - 
transactionListenerProviderspublic TransactionListenerProvider[] transactionListenerProviders() Description copied from interface:ConfigurationGet the configuredTransactionListenerProviders from this configuration.- Specified by:
- transactionListenerProvidersin interface- Configuration
 
 - 
diagnosticsListenerProviderspublic DiagnosticsListenerProvider[] diagnosticsListenerProviders() Description copied from interface:ConfigurationGet the configuredDiagnosticsListenerProviders from this configuration.- Specified by:
- diagnosticsListenerProvidersin interface- Configuration
 
 - 
unwrapperProviderpublic UnwrapperProvider unwrapperProvider() Description copied from interface:ConfigurationGet the configuredUnwrapperProviderfrom this configuration.- Specified by:
- unwrapperProviderin interface- Configuration
 
 - 
converterProviderpublic ConverterProvider converterProvider() Description copied from interface:ConfigurationGet the configuredConverterProviderfrom this configuration.- Specified by:
- converterProviderin interface- Configuration
 
 - 
schemaMappingpublic SchemaMapping schemaMapping() Description copied from interface:ConfigurationRetrieve the configured schema mapping.- Specified by:
- schemaMappingin interface- Configuration
 
 - 
dialectpublic SQLDialect dialect() Description copied from interface:ConfigurationRetrieve the configured dialect.- Specified by:
- dialectin interface- Configuration
 
 - 
familypublic SQLDialect family() Description copied from interface:ConfigurationRetrieve the family of the configured dialect.- Specified by:
- familyin interface- Configuration
 
 - 
settingspublic Settings settings() Description copied from interface:ConfigurationRetrieve the runtime configuration settings.- Specified by:
- settingsin interface- Configuration
 
 - 
setpublic Configuration set(Clock newClock) Description copied from interface:ConfigurationChange this configuration to hold a newClock.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newClock- The new clock to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(ConnectionProvider newConnectionProvider) Description copied from interface:ConfigurationChange this configuration to hold a new connection provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newConnectionProvider- The new connection provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(MetaProvider newMetaProvider) Description copied from interface:ConfigurationChange this configuration to hold a new meta provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newMetaProvider- The new meta provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(VersionProvider newVersionProvider) Description copied from interface:ConfigurationChange this configuration to hold a new version provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newVersionProvider- The new version provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(Connection newConnection) Description copied from interface:ConfigurationChange this configuration to hold a new connection wrapped in aDefaultConnectionProvider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newConnection- The new connection to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(DataSource newDataSource) Description copied from interface:ConfigurationChange this configuration to hold a new data source wrapped in aDataSourceConnectionProvider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newDataSource- The new data source to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(Executor newExecutor) Description copied from interface:ConfigurationChange this configuration to hold a new executor.This will wrap the argument Executorin aDefaultExecutorProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newExecutor- The new executor to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(ExecutorProvider newExecutorProvider) Description copied from interface:ConfigurationChange this configuration to hold a new executor provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newExecutorProvider- The new executor provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(TransactionProvider newTransactionProvider) Description copied from interface:ConfigurationChange this configuration to hold a new transaction provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newTransactionProvider- The new transaction provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(RecordMapper<?,?> newRecordMapper) Description copied from interface:ConfigurationChange this configuration to hold a new record mapper.This will wrap the argument RecordMapperin aDefaultRecordMapperProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newRecordMapper- The new record mapper to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(RecordMapperProvider newRecordMapperProvider) Description copied from interface:ConfigurationChange this configuration to hold a new record mapper provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newRecordMapperProvider- The new record mapper provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(RecordUnmapper<?,?> newRecordUnmapper) Description copied from interface:ConfigurationChange this configuration to hold a new record unmapper.This will wrap the argument RecordUnmapperin aDefaultRecordUnmapperProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newRecordUnmapper- The new record unmapper to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(RecordUnmapperProvider newRecordUnmapperProvider) Description copied from interface:ConfigurationChange this configuration to hold a new record unmapper provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newRecordUnmapperProvider- The new record unmapper provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(RecordListener... newRecordListeners) Description copied from interface:ConfigurationChange this configuration to hold a new record listeners.This will wrap the argument RecordListenerin aDefaultRecordListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newRecordListeners- The new record listener to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(RecordListenerProvider... newRecordListenerProviders) Description copied from interface:ConfigurationChange this configuration to hold a new record listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newRecordListenerProviders- The new record listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(ExecuteListener... newExecuteListeners) Description copied from interface:ConfigurationChange this configuration to hold a new execute listeners.This will wrap the argument ExecuteListenerin aDefaultExecuteListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newExecuteListeners- The new execute listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(ExecuteListenerProvider... newExecuteListenerProviders) Description copied from interface:ConfigurationChange this configuration to hold a new execute listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newExecuteListenerProviders- The new execute listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(MigrationListener... newMigrationListeners) Description copied from interface:ConfigurationChange this configuration to hold a new migration listeners.This will wrap the argument MigrationListenerin aDefaultMigrationListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newMigrationListeners- The new migration listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(MigrationListenerProvider... newMigrationListenerProviders) Description copied from interface:ConfigurationChange this configuration to hold a new migration listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newMigrationListenerProviders- The new migration listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(VisitListener... newVisitListeners) Description copied from interface:ConfigurationChange this configuration to hold a new visit listeners.This will wrap the argument VisitListenerin aDefaultVisitListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newVisitListeners- The new visit listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(VisitListenerProvider... newVisitListenerProviders) Description copied from interface:ConfigurationChange this configuration to hold a new visit listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newVisitListenerProviders- The new visit listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(TransactionListener... newTransactionListeners) Description copied from interface:ConfigurationChange this configuration to hold a new transaction listeners.This will wrap the argument TransactionListenerin aDefaultTransactionListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newTransactionListeners- The new transaction listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(TransactionListenerProvider... newTransactionListenerProviders) Description copied from interface:ConfigurationChange this configuration to hold a new transaction listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newTransactionListenerProviders- The new transaction listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(DiagnosticsListener... newDiagnosticsListeners) Description copied from interface:ConfigurationChange this configuration to hold a new diagnostics listeners.This will wrap the argument DiagnosticsListenerin aDefaultDiagnosticsListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newDiagnosticsListeners- The new diagnostics listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) Description copied from interface:ConfigurationChange this configuration to hold new diagnostics listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newDiagnosticsListenerProviders- The new diagnostics listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(Unwrapper newUnwrapper) Description copied from interface:ConfigurationChange this configuration to hold a new unwrapper.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newUnwrapper- The new unwrapper to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(UnwrapperProvider newUnwrapperProvider) Description copied from interface:ConfigurationChange this configuration to hold a new unwrapper provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newUnwrapperProvider- The new unwrapper provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(ConverterProvider newConverterProvider) Description copied from interface:ConfigurationChange this configuration to hold a new converter provider.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newConverterProvider- The new converter provider to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(SQLDialect newDialect) Description copied from interface:ConfigurationChange this configuration to hold a new dialect.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newDialect- The new dialect to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
setpublic Configuration set(Settings newSettings) Description copied from interface:ConfigurationChange this configuration to hold a new settings.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newSettings- The new settings to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
 - 
derivepublic Configuration derive() Description copied from interface:ConfigurationCreate a derived configuration from this one, without changing any properties.- Specified by:
- derivein interface- Configuration
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(Clock newClock) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a newClock.- Specified by:
- derivein interface- Configuration
- Parameters:
- newClock- The new clock to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(Connection newConnection) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new connection wrapped in aDefaultConnectionProvider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newConnection- The new connection to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(DataSource newDataSource) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new data source wrapped in aDataSourceConnectionProvider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newDataSource- The new data source to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(ConnectionProvider newConnectionProvider) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new connection provider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newConnectionProvider- The new connection provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(MetaProvider newMetaProvider) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new meta provider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newMetaProvider- The new meta provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(VersionProvider newVersionProvider) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new version provider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newVersionProvider- The new version provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(Executor newExecutor) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new executor.This will wrap the argument Executorin aDefaultExecutorProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newExecutor- The new executor to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(ExecutorProvider newExecutorProvider) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new executor provider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newExecutorProvider- The new executor provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(TransactionProvider newTransactionProvider) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new transaction provider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newTransactionProvider- The new transaction provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(RecordMapper<?,?> newRecordMapper) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new record mapper.This will wrap the argument RecordMapperin aDefaultRecordMapperProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newRecordMapper- The new record mapper to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(RecordMapperProvider newRecordMapperProvider) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new record mapper provider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newRecordMapperProvider- The new record mapper provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(RecordUnmapper<?,?> newRecordUnmapper) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new record unmapper.This will wrap the argument RecordUnmapperin aDefaultRecordUnmapperProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newRecordUnmapper- The new record unmapper to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(RecordUnmapperProvider newRecordUnmapperProvider) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new record unmapper provider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newRecordUnmapperProvider- The new record unmapper provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(RecordListener... newRecordListeners) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new record listeners.This will wrap the argument RecordListenerin aDefaultRecordListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newRecordListeners- The new record listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(RecordListenerProvider... newRecordListenerProviders) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new record listener providers.- Specified by:
- derivein interface- Configuration
- Parameters:
- newRecordListenerProviders- The new record listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(ExecuteListener... newExecuteListeners) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new execute listeners.This will wrap the argument ExecuteListenerin aDefaultExecuteListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newExecuteListeners- The new execute listener to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(ExecuteListenerProvider... newExecuteListenerProviders) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new execute listener providers.- Specified by:
- derivein interface- Configuration
- Parameters:
- newExecuteListenerProviders- The new execute listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(MigrationListener... newMigrationListeners) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new migration listeners.This will wrap the argument MigrationListenerin aDefaultMigrationListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newMigrationListeners- The new migration listener to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(MigrationListenerProvider... newMigrationListenerProviders) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new migration listener providers.- Specified by:
- derivein interface- Configuration
- Parameters:
- newMigrationListenerProviders- The new migration listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(VisitListener... newVisitListeners) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new visit listeners.This will wrap the argument VisitListenerin aDefaultVisitListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newVisitListeners- The new visit listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(VisitListenerProvider... newVisitListenerProviders) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new visit listener providers.- Specified by:
- derivein interface- Configuration
- Parameters:
- newVisitListenerProviders- The new visit listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(TransactionListener... newTransactionListeners) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new transaction listeners.This will wrap the argument TransactionListenerin aDefaultTransactionListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newTransactionListeners- The new transaction listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(TransactionListenerProvider... newTransactionListenerProviders) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new transaction listener providers.- Specified by:
- derivein interface- Configuration
- Parameters:
- newTransactionListenerProviders- The new transaction listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(DiagnosticsListener... newDiagnosticsListeners) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new diagnostics listeners.- Specified by:
- derivein interface- Configuration
- Parameters:
- newDiagnosticsListeners- The new diagnostics listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new diagnostics listener providers.- Specified by:
- derivein interface- Configuration
- Parameters:
- newDiagnosticsListenerProviders- The new diagnostics listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(Unwrapper newUnwrapper) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new unwrapper.- Specified by:
- derivein interface- Configuration
- Parameters:
- newUnwrapper- The new unwrapper to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(UnwrapperProvider newUnwrapperProvider) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new unwrapper provider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newUnwrapperProvider- The new unwrapper provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(ConverterProvider newConverterProvider) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new converter provider.- Specified by:
- derivein interface- Configuration
- Parameters:
- newConverterProvider- The new converter provider to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(SQLDialect newDialect) Description copied from interface:ConfigurationCreate a derived configuration from this one, with a new dialect.- Specified by:
- derivein interface- Configuration
- Parameters:
- newDialect- The new dialect to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 - 
derivepublic Configuration derive(Settings newSettings) Description copied from interface:ConfigurationCreate a derived configuration from this one, with new settings.- Specified by:
- derivein interface- Configuration
- Parameters:
- newSettings- The new settings to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
 
- 
 
-