Class TestConditionContext
- java.lang.Object
-
- io.microsphere.spring.test.context.annotation.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.ApplicationContextAwareConditionContextfor testing- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
ConditionContext,Conditional,Condition
-
-
Constructor Summary
Constructors Constructor Description TestConditionContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.beans.factory.config.ConfigurableListableBeanFactorygetBeanFactory()java.lang.ClassLoadergetClassLoader()org.springframework.core.env.EnvironmentgetEnvironment()org.springframework.beans.factory.support.BeanDefinitionRegistrygetRegistry()org.springframework.core.io.ResourceLoadergetResourceLoader()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
getRegistry
public org.springframework.beans.factory.support.BeanDefinitionRegistry getRegistry()
- Specified by:
getRegistryin interfaceorg.springframework.context.annotation.ConditionContext
-
getBeanFactory
public org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory()
- Specified by:
getBeanFactoryin interfaceorg.springframework.context.annotation.ConditionContext
-
getEnvironment
public org.springframework.core.env.Environment getEnvironment()
- Specified by:
getEnvironmentin interfaceorg.springframework.context.annotation.ConditionContext
-
getResourceLoader
public org.springframework.core.io.ResourceLoader getResourceLoader()
- Specified by:
getResourceLoaderin interfaceorg.springframework.context.annotation.ConditionContext
-
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Specified by:
getClassLoaderin interfaceorg.springframework.context.annotation.ConditionContext
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
-