Class OptionsCapableConnectionFactory

java.lang.Object
org.springframework.boot.r2dbc.OptionsCapableConnectionFactory
All Implemented Interfaces:
ConnectionFactory, Wrapped<ConnectionFactory>

public class OptionsCapableConnectionFactory extends Object implements Wrapped<ConnectionFactory>, ConnectionFactory
ConnectionFactory capable of providing access to the ConnectionFactoryOptions from which it was built.
Since:
2.5.0
Author:
Andy Wilkinson
  • Constructor Details

    • OptionsCapableConnectionFactory

      public OptionsCapableConnectionFactory(ConnectionFactoryOptions options, ConnectionFactory delegate)
      Create a new OptionsCapableConnectionFactory that will provide access to the given options that were used to build the given delegate ConnectionFactory.
      Parameters:
      options - the options from which the connection factory was built
      delegate - the delegate connection factory that was built with options
  • Method Details