类 MybatisPlusApplicationContextAware

java.lang.Object
com.baomidou.mybatisplus.extension.spring.MybatisPlusApplicationContextAware
所有已实现的接口:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class MybatisPlusApplicationContextAware extends Object implements org.springframework.context.ApplicationContextAware
Spring容器访问
从以下版本开始:
3.5.12
作者:
nieqiurong
  • 构造器详细资料

    • MybatisPlusApplicationContextAware

      public MybatisPlusApplicationContextAware()
  • 方法详细资料

    • setApplicationContext

      public void setApplicationContext(@NotNull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      指定者:
      setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
      抛出:
      org.springframework.beans.BeansException
    • hasApplicationContext

      public static boolean hasApplicationContext()
    • getApplicationContext

      public static org.springframework.context.ApplicationContext getApplicationContext()