Class HikariPoolConfigurationListener

java.lang.Object
io.micronaut.oraclecloud.atp.jdbc.hikari.HikariPoolConfigurationListener
All Implemented Interfaces:
io.micronaut.context.event.BeanInitializedEventListener<io.micronaut.configuration.jdbc.hikari.DatasourceConfiguration>, io.micronaut.core.order.Ordered, EventListener

@Singleton @Requires(classes=io.micronaut.configuration.jdbc.hikari.DatasourceConfiguration.class) @Requires(sdk=JAVA,value="11") @Internal public class HikariPoolConfigurationListener extends Object implements io.micronaut.context.event.BeanInitializedEventListener<io.micronaut.configuration.jdbc.hikari.DatasourceConfiguration>, io.micronaut.core.order.Ordered
Hikari connection pool listener that downloads oracle wallet and extends the Hikari DatasourceConfiguration.
Since:
2.5
Author:
Pavol Gressa
  • Field Details

  • Constructor Details

    • HikariPoolConfigurationListener

      protected HikariPoolConfigurationListener(@Nullable @Nullable OracleWalletArchiveProvider walletArchiveProvider, @NonNull @NonNull io.micronaut.context.BeanLocator beanLocator)
      Default constructor.
      Parameters:
      walletArchiveProvider - The wallet archive provider
      beanLocator - The bean locator
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface io.micronaut.core.order.Ordered
    • onInitialized

      public io.micronaut.configuration.jdbc.hikari.DatasourceConfiguration onInitialized(io.micronaut.context.event.BeanInitializingEvent<io.micronaut.configuration.jdbc.hikari.DatasourceConfiguration> event)
      Specified by:
      onInitialized in interface io.micronaut.context.event.BeanInitializedEventListener<io.micronaut.configuration.jdbc.hikari.DatasourceConfiguration>