类 DriverManagerConnectionProviderImpl

    • 构造器详细资料

      • DriverManagerConnectionProviderImpl

        public DriverManagerConnectionProviderImpl()
    • 方法详细资料

      • configure

        public void configure​(Map configurationValues)
        从接口复制的说明: Configurable
        Configure the service.
        指定者:
        configure 在接口中 Configurable
        参数:
        configurationValues - The configuration properties.
      • supportsAggressiveRelease

        public boolean supportsAggressiveRelease()
        从接口复制的说明: ConnectionProvider
        Does this connection provider support aggressive release of JDBC connections and re-acquisition of those connections (if need be) later?

        This is used in conjunction with AvailableSettings.RELEASE_CONNECTIONS to aggressively release JDBC connections. However, the configured ConnectionProvider must support re-acquisition of the same underlying connection for that semantic to work.

        Typically, this is only true in managed environments where a container tracks connections by transaction or thread. Note that JTA semantic depends on the fact that the underlying connection provider does support aggressive release.

        指定者:
        supportsAggressiveRelease 在接口中 ConnectionProvider
        返回:
        true if aggressive releasing is supported; false otherwise.
      • isUnwrappableAs

        public boolean isUnwrappableAs​(Class unwrapType)
        从接口复制的说明: Wrapped
        Can this wrapped service be unwrapped as the indicated type?
        指定者:
        isUnwrappableAs 在接口中 Wrapped
        参数:
        unwrapType - The type to check.
        返回:
        True/false.
      • unwrap

        public <T> T unwrap​(Class<T> unwrapType)
        从接口复制的说明: Wrapped
        Unproxy the service proxy
        指定者:
        unwrap 在接口中 Wrapped
        参数:
        unwrapType - The java type as which to unwrap this instance.
        返回:
        The unwrapped reference
      • stop

        public void stop()
        从接口复制的说明: Stoppable
        Stop phase notification
        指定者:
        stop 在接口中 Stoppable
      • getConnectionProperties

        public Properties getConnectionProperties()
        Exposed to facilitate testing only.
        返回: