OptionsCapableConnectionFactory

open class OptionsCapableConnectionFactory : Wrapped<T> , ConnectionFactory

ConnectionFactory capable of providing access to the ConnectionFactoryOptions from which it was built.

Author

Andy Wilkinson

Since

2.5.0

Constructors

Link copied to clipboard
constructor(options: ConnectionFactoryOptions, delegate: ConnectionFactory)
Create a new OptionsCapableConnectionFactory that will provide access to the given options that were used to build the given delegateConnectionFactory.

Properties

Link copied to clipboard
val options: ConnectionFactoryOptions

Functions

Link copied to clipboard
open fun create(): Publisher<out Connection>
Link copied to clipboard
open fun getMetadata(): ConnectionFactoryMetadata
Link copied to clipboard
open fun <E> unwrap(targetClass: Class<E>): E
open fun unwrap(): ConnectionFactory
Link copied to clipboard
open fun unwrapFrom(connectionFactory: ConnectionFactory): OptionsCapableConnectionFactory
Returns, if possible, an OptionsCapableConnectionFactory by unwrapping the given connectionFactory as necessary.