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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionoracle.ucp.admin.UniversalConnectionPoolManager
connectionPoolManager
(UniversalConnectionPoolManagerConfiguration.JMXBeanConfiguration jmxBeanConfiguration) Creates theUniversalConnectionPoolManager
.
-
Constructor Details
-
UniversalConnectionPoolManagerFactory
public UniversalConnectionPoolManagerFactory()
-
-
Method Details
-
connectionPoolManager
@Singleton public oracle.ucp.admin.UniversalConnectionPoolManager connectionPoolManager(UniversalConnectionPoolManagerConfiguration.JMXBeanConfiguration jmxBeanConfiguration) throws oracle.ucp.UniversalConnectionPoolException Creates theUniversalConnectionPoolManager
.- Parameters:
jmxBeanConfiguration
- configuration- Returns:
- ucp manager
- Throws:
oracle.ucp.UniversalConnectionPoolException
- when the manager can't be configured.
-