类 DynamicDataSourceAnnotationAdvisor

java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
com.baomidou.dynamic.datasource.aop.DynamicDataSourceAnnotationAdvisor
所有已实现的接口:
Serializable, org.springframework.aop.Advisor, org.springframework.aop.PointcutAdvisor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.Ordered

public class DynamicDataSourceAnnotationAdvisor extends org.springframework.aop.support.AbstractPointcutAdvisor implements org.springframework.beans.factory.BeanFactoryAware
DynamicDataSource Annotation Pointcut
从以下版本开始:
1.2.0
作者:
TaoYu
另请参阅:
  • 字段概要

    从接口继承的字段 org.springframework.aop.Advisor

    EMPTY_ADVICE

    从接口继承的字段 org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • 构造器概要

    构造器
    构造器
    说明
    DynamicDataSourceAnnotationAdvisor(@NonNull org.aopalliance.intercept.MethodInterceptor advice, @NonNull Class<? extends Annotation> annotation)
    构造方法
  • 方法概要

    修饰符和类型
    方法
    说明
    org.aopalliance.aop.Advice
     
    org.springframework.aop.Pointcut
     
    void
    setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
     

    从类继承的方法 org.springframework.aop.support.AbstractPointcutAdvisor

    equals, getOrder, hashCode, isPerInstance, setOrder

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • DynamicDataSourceAnnotationAdvisor

      public DynamicDataSourceAnnotationAdvisor(@NonNull @NonNull org.aopalliance.intercept.MethodInterceptor advice, @NonNull @NonNull Class<? extends Annotation> annotation)
      构造方法
      参数:
      advice - 切面
      annotation - 注解
  • 方法详细资料

    • getPointcut

      public org.springframework.aop.Pointcut getPointcut()
      指定者:
      getPointcut 在接口中 org.springframework.aop.PointcutAdvisor
    • getAdvice

      public org.aopalliance.aop.Advice getAdvice()
      指定者:
      getAdvice 在接口中 org.springframework.aop.Advisor
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      指定者:
      setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAware
      抛出:
      org.springframework.beans.BeansException