Class DynamicDataSource

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    @Component
    public class DynamicDataSource
    extends Object
    implements org.springframework.context.ApplicationContextAware
    datasource adapter
    Author:
    Nacos
    • Constructor Detail

      • DynamicDataSource

        public DynamicDataSource()
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
      • getApplicationContext

        public org.springframework.context.ApplicationContext getApplicationContext()