Class AliasAwareDriverManagerDataSource

java.lang.Object
org.springframework.jdbc.datasource.AbstractDataSource
org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
org.springframework.jdbc.datasource.DriverManagerDataSource
org.frankframework.ladybug.AliasAwareDriverManagerDataSource
All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource, org.springframework.beans.factory.InitializingBean

public class AliasAwareDriverManagerDataSource extends org.springframework.jdbc.datasource.DriverManagerDataSource implements org.springframework.beans.factory.InitializingBean
  • Field Summary

    Fields inherited from class org.springframework.jdbc.datasource.AbstractDataSource

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    setAuthAlias(String authAlias)
     

    Methods inherited from class org.springframework.jdbc.datasource.DriverManagerDataSource

    getConnectionFromDriver, getConnectionFromDriverManager, setDriverClassName

    Methods inherited from class org.springframework.jdbc.datasource.AbstractDriverBasedDataSource

    getCatalog, getConnection, getConnection, getConnectionFromDriver, getConnectionProperties, getPassword, getSchema, getUrl, getUsername, setCatalog, setConnectionProperties, setPassword, setSchema, setUrl, setUsername

    Methods inherited from class org.springframework.jdbc.datasource.AbstractDataSource

    getLoginTimeout, getLogWriter, getParentLogger, isWrapperFor, setLoginTimeout, setLogWriter, unwrap

    Methods inherited from class Object

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

    Methods inherited from interface CommonDataSource

    createShardingKeyBuilder

    Methods inherited from interface DataSource

    createConnectionBuilder
  • Constructor Details

    • AliasAwareDriverManagerDataSource

      public AliasAwareDriverManagerDataSource()
  • Method Details

    • setAuthAlias

      public void setAuthAlias(String authAlias)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception