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.ApplicationContextAware
ConditionContext
test- Since:
- 1.0.0
- Author:
- Mercy
-
-
Constructor Summary
Constructors Constructor Description TestConditionContext()
-
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)
-
-
-
Method Detail
-
getRegistry
public org.springframework.beans.factory.support.BeanDefinitionRegistry getRegistry()
- Specified by:
getRegistry
in interfaceorg.springframework.context.annotation.ConditionContext
-
getBeanFactory
public org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory()
- Specified by:
getBeanFactory
in interfaceorg.springframework.context.annotation.ConditionContext
-
getEnvironment
public org.springframework.core.env.Environment getEnvironment()
- Specified by:
getEnvironment
in interfaceorg.springframework.context.annotation.ConditionContext
-
getResourceLoader
public org.springframework.core.io.ResourceLoader getResourceLoader()
- Specified by:
getResourceLoader
in interfaceorg.springframework.context.annotation.ConditionContext
-
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interfaceorg.springframework.context.annotation.ConditionContext
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-