Top Description Methods
org.jooq

public Interface Configuration

extends Serializable
Known Direct Implementers
org.jooq.impl.AbstractConfiguration
Imports
java.io.Serializable, java.sql.Connection, .Savepoint, .Wrapper, java.time.Clock, java.util.Map, java.util.concurrent.ConcurrentHashMap, .Executor, .ForkJoinPool, java.util.function.Function, .Supplier, javax.sql.DataSource, org.jooq.conf.Settings, org.jooq.exception.DataAccessException, org.jooq.impl.DSL, .DataSourceConnectionProvider, .DefaultConfiguration, .DefaultConnectionProvider, .DefaultDiagnosticsListenerProvider, .DefaultExecuteListenerProvider, .DefaultExecutorProvider, .DefaultMigrationListenerProvider, .DefaultRecordListenerProvider, .DefaultRecordMapper, .DefaultRecordMapperProvider, .DefaultRecordUnmapperProvider, .DefaultTransactionListenerProvider, .DefaultTransactionProvider, .DefaultVisitListenerProvider, org.jooq.tools.LoggerListener, .StopWatchListener, org.jetbrains.annotations.NotNull, .Nullable, io.r2dbc.spi.ConnectionFactory

A Configuration configures a DSLContext, providing it with information for query rendering and execution.

A Configuration wraps all information elements that are needed...

A Configuration is composed of types composing its state and of SPIs:

Types composing its state:

SPIs:

Thread safety

The simplest usage of a Configuration instance is to use it exactly for a single Query execution, disposing it immediately. This will make it very simple to implement thread-safe behaviour, but reflection caches will not be used optimally, e.g. when using DefaultRecordMapper.

At the same time, jOOQ does not require Configuration instances to be that short-lived. Thread-safety will then be delegated to component objects, such as the ConnectionProvider, the ExecuteListener list, etc.

For a Configuration to be used in a thread safe way, all set() methods must be avoided post initialisation, and settings() must not be modified either. If you wish to create a derived configuration for local usage, with some configuration parts changed, use the various derive() methods, instead.

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull CacheProvider
cacheProvider()

Get this configuration's underlying cache provider.

public @NotNull CharsetProvider
charsetProvider()

Get the configured CharsetProvider from this configuration.

public @NotNull Clock
clock()

Get this configuration's Clock, which is used for optimistic locking, transaction time, and other time-depending features.

public default boolean
commercial()

Whether this is a commercial edition of jOOQ.

public boolean
commercial(Supplier<String> logMessage)

Whether this is a commercial edition of jOOQ, logging a warning message, if not.

public @NotNull CommitProvider
commitProvider()

Get this configuration's underlying commit provider.

public @NotNull ConnectionFactory
connectionFactory()

Get this configuration's underlying R2DBC connection factory.

public @NotNull ConnectionProvider
connectionProvider()

Get this configuration's underlying connection provider.

public @NotNull ConverterProvider
converterProvider()

Get the configured ConverterProvider from this configuration.

public @NotNull Map<Object, Object>

Returns:

The custom data. This is never null
data
()

Get all custom data from this Configuration.

public @Nullable Object

Returns:

The custom data or null if no such data is contained in this Configuration
data
(Object
A key to identify the custom data
key
)

Get some custom data from this Configuration.

public @Nullable Object

Returns:

The previously set custom data or null if no data was previously set for the given key
data
(Object
A key to identify the custom data
key
,
Object
The custom data
value
)

Set some custom data to this Configuration.

public @NotNull Configuration

Returns:

The derived configuration.
derive
()

Create a derived configuration from this one, without changing any properties.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(Clock
The new clock to be contained in the derived configuration.
newClock
)

Create a derived configuration from this one, with a new Clock.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(Connection
The new connection to be contained in the derived configuration.
newConnection
)

Create a derived configuration from this one, with a new connection wrapped in a DefaultConnectionProvider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(DataSource
The new data source to be contained in the derived configuration.
newDataSource
)

Create a derived configuration from this one, with a new data source wrapped in a DataSourceConnectionProvider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(ConnectionFactory
The new connection factory to be contained in the derived configuration.
newConnectionFactory
)

Create a derived configuration from this one, with a new R2DBC connection factory.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(ConnectionProvider
The new connection provider to be contained in the derived configuration.
newConnectionProvider
)

Create a derived configuration from this one, with a new connection provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(MetaProvider
The new meta provider to be contained in the derived configuration.
newMetaProvider
)

Create a derived configuration from this one, with a new meta provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(CommitProvider
The new commit provider to be contained in the derived configuration.
newCommitProvider
)

Create a derived configuration from this one, with a new commit provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(Executor
The new executor to be contained in the derived configuration.
newExecutor
)

Create a derived configuration from this one, with a new executor.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(ExecutorProvider
The new executor provider to be contained in the derived configuration.
newExecutorProvider
)

Create a derived configuration from this one, with a new executor provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(CacheProvider
The new cache provider to be contained in the derived configuration.
newCacheProvider
)

Create a derived configuration from this one, with a new cache provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(TransactionProvider
The new transaction provider to be contained in the derived configuration.
newTransactionProvider
)

Create a derived configuration from this one, with a new transaction provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(RecordMapper<?, ?>
The new record mapper to be contained in the derived configuration.
newRecordMapper
)

Create a derived configuration from this one, with a new record mapper.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(RecordMapperProvider
The new record mapper provider to be contained in the derived configuration.
newRecordMapperProvider
)

Create a derived configuration from this one, with a new record mapper provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(RecordUnmapper<?, ?>
The new record unmapper to be contained in the derived configuration.
newRecordUnmapper
)

Create a derived configuration from this one, with a new record unmapper.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(RecordUnmapperProvider
The new record unmapper provider to be contained in the derived configuration.
newRecordUnmapperProvider
)

Create a derived configuration from this one, with a new record unmapper provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(RecordListener...
The new record listeners to be contained in the derived configuration.
newRecordListeners
)

Create a derived configuration from this one, with new record listeners.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(RecordListenerProvider...
The new record listener providers to be contained in the derived configuration.
newRecordListenerProviders
)

Create a derived configuration from this one, with new record listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(ExecuteListener...
The new execute listener to be contained in the derived configuration.
newExecuteListeners
)

Create a derived configuration from this one, with new execute listeners.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(ExecuteListenerProvider...
The new execute listener providers to be contained in the derived configuration.
newExecuteListenerProviders
)

Create a derived configuration from this one, with new execute listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(MigrationListener...
The new migration listener to be contained in the derived configuration.
newMigrationListeners
)

Create a derived configuration from this one, with new migration listeners.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(MigrationListenerProvider...
The new migration listener providers to be contained in the derived configuration.
newMigrationListenerProviders
)

Create a derived configuration from this one, with new migration listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(VisitListener...
The new visit listeners to be contained in the derived configuration.
newVisitListeners
)

Create a derived configuration from this one, with new visit listeners.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(VisitListenerProvider...
The new visit listener providers to be contained in the derived configuration.
newVisitListenerProviders
)

Create a derived configuration from this one, with new visit listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(TransactionListener...
The new transaction listeners to be contained in the derived configuration.
newTransactionListeners
)

Create a derived configuration from this one, with new transaction listeners.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(TransactionListenerProvider...
The new transaction listener providers to be contained in the derived configuration.
newTransactionListenerProviders
)

Create a derived configuration from this one, with new transaction listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(DiagnosticsListener...
The new diagnostics listeners to be contained in the derived configuration.
newDiagnosticsListeners
)

Create a derived configuration from this one, with new diagnostics listeners.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(DiagnosticsListenerProvider...
The new diagnostics listener providers to be contained in the derived configuration.
newDiagnosticsListenerProviders
)

Create a derived configuration from this one, with new diagnostics listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(Unwrapper
The new unwrapper to be contained in the derived configuration.
newUnwrapper
)

Create a derived configuration from this one, with a new unwrapper.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(UnwrapperProvider
The new unwrapper provider to be contained in the derived configuration.
newUnwrapperProvider
)

Create a derived configuration from this one, with a new unwrapper provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(CharsetProvider
The new charset provider to be contained in the derived configuration.
newCharsetProvider
)

Create a derived configuration from this one, with a new charset provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(ConverterProvider
The new converter provider to be contained in the derived configuration.
newConverterProvider
)

Create a derived configuration from this one, with new converter provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(FormattingProvider
The new formatting provider to be contained in the derived configuration.
newFormattingProvider
)

Create a derived configuration from this one, with new formatting provider.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(SQLDialect
The new dialect to be contained in the derived configuration.
newDialect
)

Create a derived configuration from this one, with a new dialect.

public @NotNull Configuration

Returns:

The derived configuration.
derive
(Settings
The new settings to be contained in the derived configuration.
newSettings
)

Create a derived configuration from this one, with new settings.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(RecordListener...
The appended record listeners to be contained in the derived configuration.
newRecordListeners
)

Create a derived configuration from this one, with appended record listeners.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(RecordListenerProvider...
The appended record listener providers to be contained in the derived configuration.
newRecordListenerProviders
)

Create a derived configuration from this one, with appended record listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(ExecuteListener...
The appended execute listener to be contained in the derived configuration.
newExecuteListeners
)

Create a derived configuration from this one, with appended execute listeners.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(ExecuteListenerProvider...
The appended execute listener providers to be contained in the derived configuration.
newExecuteListenerProviders
)

Create a derived configuration from this one, with appended execute listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(MigrationListener...
The appended migration listener to be contained in the derived configuration.
newMigrationListeners
)

Create a derived configuration from this one, with appended migration listeners.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(MigrationListenerProvider...
The appended migration listener providers to be contained in the derived configuration.
newMigrationListenerProviders
)

Create a derived configuration from this one, with appended migration listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(VisitListener...
The appended visit listeners to be contained in the derived configuration.
newVisitListeners
)

Create a derived configuration from this one, with appended visit listeners.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(VisitListenerProvider...
The appended visit listener providers to be contained in the derived configuration.
newVisitListenerProviders
)

Create a derived configuration from this one, with appended visit listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(TransactionListener...
The appended transaction listeners to be contained in the derived configuration.
newTransactionListeners
)

Create a derived configuration from this one, with appended transaction listeners.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(TransactionListenerProvider...
The appended transaction listener providers to be contained in the derived configuration.
newTransactionListenerProviders
)

Create a derived configuration from this one, with appended transaction listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(DiagnosticsListener...
The appended diagnostics listeners to be contained in the derived configuration.
newDiagnosticsListeners
)

Create a derived configuration from this one, with appended diagnostics listeners.

public @NotNull Configuration

Returns:

The derived configuration.
deriveAppending
(DiagnosticsListenerProvider...
The appended diagnostics listener providers to be contained in the derived configuration.
newDiagnosticsListenerProviders
)

Create a derived configuration from this one, with appended diagnostics listener providers.

public @NotNull Configuration

Returns:

The derived configuration.
deriveSettings
(Function<? super Settings, ? extends Settings>
A function producing the new settings to be contained in the derived configuration based on a clone of the current settings.
newSettings
)

Create a derived configuration from this one, with new settings constructed from a clone of the current settings.

public @NotNull @NotNull DiagnosticsListenerProvider[]
diagnosticsListenerProviders()

Get the configured DiagnosticsListenerProviders from this configuration.

public @NotNull SQLDialect
dialect()

Retrieve the configured dialect.

public @NotNull DSLContext
dsl()

Wrap this Configuration in a DSLContext, providing access to the configuration-contextual DSL to construct executable queries.

public @NotNull @NotNull ExecuteListenerProvider[]

Returns:

The configured set of execute listeners.
executeListenerProviders
()

Get the configured ExecuteListenerProviders from this configuration.

public @NotNull ExecutorProvider
executorProvider()

Get this configuration's underlying executor provider.

public @NotNull SQLDialect
family()

Retrieve the family of the configured dialect.

public @NotNull FormattingProvider
formattingProvider()

Get the configured FormattingProvider from this configuration.

public @NotNull ConnectionProvider
interpreterConnectionProvider()

Get this configuration's underlying interpreter connection provider, which provides connections for DDL interpretation.

public @NotNull MetaProvider
metaProvider()

Get this configuration's underlying meta provider.

public @NotNull @NotNull MigrationListenerProvider[]

Returns:

The configured set of migration listeners.
migrationListenerProviders
()

Get the configured MigrationListenerProviders from this configuration.

public @NotNull @NotNull RecordListenerProvider[]

Returns:

The configured set of record listeners.
recordListenerProviders
()

Get the configured RecordListenerProviders from this configuration.

public @NotNull RecordMapperProvider
recordMapperProvider()

Get this configuration's underlying record mapper provider.

public @NotNull RecordUnmapperProvider
recordUnmapperProvider()

Get this configuration's underlying record unmapper provider.

public boolean
requireCommercial(Supplier<String> logMessage)

Whether this is a commercial edition of jOOQ, throwing an exception with a message, if not.

public @NotNull SchemaMapping
schemaMapping()

Deprecated for removal since 2.0. - 2.0.5 - Use settings() instead
Retrieve the configured schema mapping.
public @NotNull Configuration

Returns:

The changed configuration.
set
(Clock
The new clock to be contained in the changed configuration.
newClock
)

Change this configuration to hold a new Clock.

public @NotNull Configuration

Returns:

The changed configuration.
set
(ConnectionProvider
The new connection provider to be contained in the changed configuration.
newConnectionProvider
)

Change this configuration to hold a new connection provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(MetaProvider
The new meta provider to be contained in the changed configuration.
newMetaProvider
)

Change this configuration to hold a new meta provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(CommitProvider
The new commit provider to be contained in the changed configuration.
newCommitProvider
)

Change this configuration to hold a new commit provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(ExecutorProvider
The new executor provider to be contained in the changed configuration.
newExecutorProvider
)

Change this configuration to hold a new executor provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(CacheProvider
The new cache provider to be contained in the changed configuration.
newCacheProvider
)

Change this configuration to hold a new cache provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(Executor
The new executor to be contained in the changed configuration.
newExecutor
)

Change this configuration to hold a new executor.

public @NotNull Configuration

Returns:

The changed configuration.
set
(Connection
The new connection to be contained in the changed configuration.
newConnection
)

Change this configuration to hold a new connection wrapped in a DefaultConnectionProvider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(DataSource
The new data source to be contained in the changed configuration.
newDataSource
)

Change this configuration to hold a new data source wrapped in a DataSourceConnectionProvider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(ConnectionFactory
The new connection to be contained in the changed configuration.
newConnectionFactory
)

Change this configuration to hold a new R2DBC connection factory.

public @NotNull Configuration

Returns:

The changed configuration.
set
(TransactionProvider
The new transaction provider to be contained in the changed configuration.
newTransactionProvider
)

Change this configuration to hold a new transaction provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(RecordMapper<?, ?>
The new record mapper to be contained in the changed configuration.
newRecordMapper
)

Change this configuration to hold a new record mapper.

public @NotNull Configuration

Returns:

The changed configuration.
set
(RecordMapperProvider
The new record mapper provider to be contained in the changed configuration.
newRecordMapperProvider
)

Change this configuration to hold a new record mapper provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(RecordUnmapper<?, ?>
The new record unmapper to be contained in the changed configuration.
newRecordUnmapper
)

Change this configuration to hold a new record unmapper.

public @NotNull Configuration

Returns:

The changed configuration.
set
(RecordUnmapperProvider
The new record unmapper provider to be contained in the changed configuration.
newRecordUnmapperProvider
)

Change this configuration to hold a new record unmapper provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(RecordListener...
The new record listener to be contained in the changed configuration.
newRecordListeners
)

Change this configuration to hold new record listeners.

public @NotNull Configuration

Returns:

The changed configuration.
set
(RecordListenerProvider...
The new record listener providers to be contained in the changed configuration.
newRecordListenerProviders
)

Change this configuration to hold new record listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
set
(ExecuteListener...
The new execute listeners to be contained in the changed configuration.
newExecuteListeners
)

Change this configuration to hold new execute listeners.

public @NotNull Configuration

Returns:

The changed configuration.
set
(ExecuteListenerProvider...
The new execute listener providers to be contained in the changed configuration.
newExecuteListenerProviders
)

Change this configuration to hold new execute listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
set
(MigrationListener...
The new migration listeners to be contained in the changed configuration.
newMigrationListeners
)

Change this configuration to hold new migration listeners.

public @NotNull Configuration

Returns:

The changed configuration.
set
(MigrationListenerProvider...
The new migration listener providers to be contained in the changed configuration.
newMigrationListenerProviders
)

Change this configuration to hold new migration listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
set
(VisitListener...
The new visit listeners to be contained in the changed configuration.
newVisitListeners
)

Change this configuration to hold a new visit listeners.

public @NotNull Configuration

Returns:

The changed configuration.
set
(VisitListenerProvider...
The new visit listener providers to be contained in the changed configuration.
newVisitListenerProviders
)

Change this configuration to hold new visit listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
set
(TransactionListener...
The new transaction listeners to be contained in the changed configuration.
newTransactionListeners
)

Change this configuration to hold new transaction listeners.

public @NotNull Configuration

Returns:

The changed configuration.
set
(TransactionListenerProvider...
The new transaction listener providers to be contained in the changed configuration.
newTransactionListenerProviders
)

Change this configuration to hold new transaction listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
set
(DiagnosticsListener...
The new diagnostics listeners to be contained in the changed configuration.
newDiagnosticsListeners
)

Change this configuration to hold new diagnostics listeners.

public @NotNull Configuration

Returns:

The changed configuration.
set
(DiagnosticsListenerProvider...
The new diagnostics listener providers to be contained in the changed configuration.
newDiagnosticsListenerProviders
)

Change this configuration to hold new diagnostics listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
set
(Unwrapper
The new unwrapper to be contained in the changed configuration.
newUnwrapper
)

Change this configuration to hold a new unwrapper.

public @NotNull Configuration

Returns:

The changed configuration.
set
(UnwrapperProvider
The new unwrapper provider to be contained in the changed configuration.
newUnwrapperProvider
)

Change this configuration to hold a new unwrapper provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(CharsetProvider
The new charset provider to be contained in the changed configuration.
newCharsetProvider
)

Change this configuration to hold a new charset provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(ConverterProvider
The new converter provider to be contained in the changed configuration.
newConverterProvider
)

Change this configuration to hold a new converter provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(FormattingProvider
The new formatting provider to be contained in the changed configuration.
newFormattingProvider
)

Change this configuration to hold a new formatting provider.

public @NotNull Configuration

Returns:

The changed configuration.
set
(SQLDialect
The new dialect to be contained in the changed configuration.
newDialect
)

Change this configuration to hold a new dialect.

public @NotNull Configuration

Returns:

The changed configuration.
set
(Settings
The new settings to be contained in the changed configuration.
newSettings
)

Change this configuration to hold a new settings.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(RecordListener...
The appended record listener to be contained in the changed configuration.
newRecordListeners
)

Change this configuration by appending new record listeners.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(RecordListenerProvider...
The appended record listener providers to be contained in the changed configuration.
newRecordListenerProviders
)

Change this configuration by appending new record listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(ExecuteListener...
The appended execute listeners to be contained in the changed configuration.
newExecuteListeners
)

Change this configuration by appending new execute listeners.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(ExecuteListenerProvider...
The appended execute listener providers to be contained in the changed configuration.
newExecuteListenerProviders
)

Change this configuration by appending new execute listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(MigrationListener...
The appended migration listeners to be contained in the changed configuration.
newMigrationListeners
)

Change this configuration by appending new migration listeners.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(MigrationListenerProvider...
The appended migration listener providers to be contained in the changed configuration.
newMigrationListenerProviders
)

Change this configuration to hold by appending new migration listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(VisitListener...
The new visit listeners to be contained in the changed configuration.
newVisitListeners
)

Change this configuration to hold new visit listeners.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(VisitListenerProvider...
The appended visit listener providers to be contained in the changed configuration.
newVisitListenerProviders
)

Change this configuration by appending new visit listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(TransactionListener...
The appended transaction listeners to be contained in the changed configuration.
newTransactionListeners
)

Change this configuration by appending new transaction listeners.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(TransactionListenerProvider...
The appended transaction listener providers to be contained in the changed configuration.
newTransactionListenerProviders
)

Change this configuration by appending new transaction listener providers.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(DiagnosticsListener...
The new diagnostics listeners to be contained in the changed configuration.
newDiagnosticsListeners
)

Change this configuration by appending new diagnostics listeners.

public @NotNull Configuration

Returns:

The changed configuration.
setAppending
(DiagnosticsListenerProvider...
The new diagnostics listener providers to be contained in the changed configuration.
newDiagnosticsListenerProviders
)

Change this configuration by appending new diagnostics listener providers.

public @NotNull Settings
settings()

Retrieve the runtime configuration settings.

public @NotNull ConnectionProvider
systemConnectionProvider()

Get this configuration's underlying system connection provider, which provides connections for system tasks.

public @NotNull @NotNull TransactionListenerProvider[]
transactionListenerProviders()

Get the configured TransactionListenerProviders from this configuration.

public @NotNull TransactionProvider
transactionProvider()

Get this configuration's underlying transaction provider.

public @NotNull UnwrapperProvider
unwrapperProvider()

Get the configured UnwrapperProvider from this configuration.

public @NotNull @NotNull VisitListenerProvider[]

Returns:

The configured set of visit listeners.
visitListenerProviders
()

Get the configured VisitListenerProvider instances from this configuration.