Class UniversalConnectionPoolManagerFactory

java.lang.Object
io.micronaut.configuration.jdbc.ucp.UniversalConnectionPoolManagerFactory

@Requires(property="ucp-manager.enabled", notEquals="false", defaultValue="true") @Internal @Factory public class UniversalConnectionPoolManagerFactory extends Object
Factory for UniversalConnectionPoolManager.
Since:
4.1
Author:
Pavol Gressa
  • Constructor Details

    • UniversalConnectionPoolManagerFactory

      public UniversalConnectionPoolManagerFactory()
  • Method Details

    • connectionPoolManager

      @Singleton public oracle.ucp.admin.UniversalConnectionPoolManager connectionPoolManager(UniversalConnectionPoolManagerConfiguration.JMXBeanConfiguration jmxBeanConfiguration) throws oracle.ucp.UniversalConnectionPoolException
      Creates the UniversalConnectionPoolManager.
      Parameters:
      jmxBeanConfiguration - configuration
      Returns:
      ucp manager
      Throws:
      oracle.ucp.UniversalConnectionPoolException - when the manager can't be configured.