类 UserSuppliedConnectionProviderImpl

    • 构造器详细资料

      • UserSuppliedConnectionProviderImpl

        public UserSuppliedConnectionProviderImpl()
    • 方法详细资料

      • 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
      • 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.