Class UnconfiguredDataSource

java.lang.Object
io.quarkus.agroal.runtime.UnconfiguredDataSource
All Implemented Interfaces:
io.agroal.api.AgroalDataSource, Serializable, AutoCloseable, Wrapper, CommonDataSource, DataSource

@Deprecated(forRemoval=true) public class UnconfiguredDataSource extends Object implements io.agroal.api.AgroalDataSource
Deprecated, for removal: This API element is subject to removal in a future version.
This is never instantiated by Quarkus. Do not use.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.agroal.api.AgroalDataSource

    io.agroal.api.AgroalDataSource.FlushMode
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    flush(io.agroal.api.AgroalDataSource.FlushMode mode)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    io.agroal.api.configuration.AgroalDataSourceConfiguration
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getConnection(String username, String password)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    io.agroal.api.AgroalDataSourceMetrics
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    List<io.agroal.api.AgroalPoolInterceptor>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    isWrapperFor(Class<?> iface)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setLoginTimeout(int seconds)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPoolInterceptors(Collection<? extends io.agroal.api.AgroalPoolInterceptor> arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    <T> T
    unwrap(Class<T> iface)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.agroal.api.AgroalDataSource

    isHealthy

    Methods inherited from interface javax.sql.CommonDataSource

    createShardingKeyBuilder

    Methods inherited from interface javax.sql.DataSource

    createConnectionBuilder
  • Constructor Details

    • UnconfiguredDataSource

      public UnconfiguredDataSource(String errorMessage)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • throwException

      public void throwException()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getConfiguration

      public io.agroal.api.configuration.AgroalDataSourceConfiguration getConfiguration()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getConfiguration in interface io.agroal.api.AgroalDataSource
    • getMetrics

      public io.agroal.api.AgroalDataSourceMetrics getMetrics()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getMetrics in interface io.agroal.api.AgroalDataSource
    • flush

      public void flush(io.agroal.api.AgroalDataSource.FlushMode mode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      flush in interface io.agroal.api.AgroalDataSource
    • setPoolInterceptors

      public void setPoolInterceptors(Collection<? extends io.agroal.api.AgroalPoolInterceptor> arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setPoolInterceptors in interface io.agroal.api.AgroalDataSource
    • getPoolInterceptors

      public List<io.agroal.api.AgroalPoolInterceptor> getPoolInterceptors()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPoolInterceptors in interface io.agroal.api.AgroalDataSource
    • close

      public void close()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      close in interface io.agroal.api.AgroalDataSource
      Specified by:
      close in interface AutoCloseable
    • getConnection

      public Connection getConnection() throws SQLException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getConnection in interface DataSource
      Throws:
      SQLException
    • getConnection

      public Connection getConnection(String username, String password) throws SQLException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getConnection in interface DataSource
      Throws:
      SQLException
    • getLogWriter

      public PrintWriter getLogWriter() throws SQLException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getLogWriter in interface CommonDataSource
      Specified by:
      getLogWriter in interface DataSource
      Throws:
      SQLException
    • setLogWriter

      public void setLogWriter(PrintWriter out) throws SQLException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setLogWriter in interface CommonDataSource
      Specified by:
      setLogWriter in interface DataSource
      Throws:
      SQLException
    • setLoginTimeout

      public void setLoginTimeout(int seconds) throws SQLException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setLoginTimeout in interface CommonDataSource
      Specified by:
      setLoginTimeout in interface DataSource
      Throws:
      SQLException
    • getLoginTimeout

      public int getLoginTimeout() throws SQLException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getLoginTimeout in interface CommonDataSource
      Specified by:
      getLoginTimeout in interface DataSource
      Throws:
      SQLException
    • getParentLogger

      public Logger getParentLogger() throws SQLFeatureNotSupportedException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getParentLogger in interface CommonDataSource
      Throws:
      SQLFeatureNotSupportedException
    • unwrap

      public <T> T unwrap(Class<T> iface) throws SQLException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      unwrap in interface Wrapper
      Throws:
      SQLException
    • isWrapperFor

      public boolean isWrapperFor(Class<?> iface) throws SQLException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isWrapperFor in interface Wrapper
      Throws:
      SQLException