Class TestConditionContext

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

    public class TestConditionContext
    extends java.lang.Object
    implements org.springframework.context.annotation.ConditionContext, org.springframework.context.ApplicationContextAware
    ConditionContext test
    Since:
    1.0.0
    Author:
    Mercy
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory()  
      java.lang.ClassLoader getClassLoader()  
      org.springframework.core.env.Environment getEnvironment()  
      org.springframework.beans.factory.support.BeanDefinitionRegistry getRegistry()  
      org.springframework.core.io.ResourceLoader getResourceLoader()  
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestConditionContext

        public TestConditionContext()
    • Method Detail

      • getRegistry

        public org.springframework.beans.factory.support.BeanDefinitionRegistry getRegistry()
        Specified by:
        getRegistry in interface org.springframework.context.annotation.ConditionContext
      • getBeanFactory

        public org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory()
        Specified by:
        getBeanFactory in interface org.springframework.context.annotation.ConditionContext
      • getEnvironment

        public org.springframework.core.env.Environment getEnvironment()
        Specified by:
        getEnvironment in interface org.springframework.context.annotation.ConditionContext
      • getResourceLoader

        public org.springframework.core.io.ResourceLoader getResourceLoader()
        Specified by:
        getResourceLoader in interface org.springframework.context.annotation.ConditionContext
      • getClassLoader

        public java.lang.ClassLoader getClassLoader()
        Specified by:
        getClassLoader in interface org.springframework.context.annotation.ConditionContext
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException