public interface ConditionContext
Condition
s.Modifier and Type | Method and Description |
---|---|
ConfigurableListableBeanFactory |
getBeanFactory()
Return the
ConfigurableListableBeanFactory that will hold the bean
definition should the condition match, or null if the bean factory
is not available. |
java.lang.ClassLoader |
getClassLoader()
Return the
ClassLoader that should be used to load additional classes,
or null if the default classloader should be used. |
Environment |
getEnvironment()
Return the
Environment for which the current application is running,
or null if no environment is available. |
BeanDefinitionRegistry |
getRegistry()
Return the
BeanDefinitionRegistry that will hold the bean definition
should the condition match, or null if the registry is not available. |
ResourceLoader |
getResourceLoader()
Return the
ResourceLoader currently being used, or null if
the resource loader cannot be obtained. |
BeanDefinitionRegistry getRegistry()
BeanDefinitionRegistry
that will hold the bean definition
should the condition match, or null
if the registry is not available.ConfigurableListableBeanFactory getBeanFactory()
ConfigurableListableBeanFactory
that will hold the bean
definition should the condition match, or null
if the bean factory
is not available.Environment getEnvironment()
Environment
for which the current application is running,
or null
if no environment is available.ResourceLoader getResourceLoader()
ResourceLoader
currently being used, or null
if
the resource loader cannot be obtained.java.lang.ClassLoader getClassLoader()
ClassLoader
that should be used to load additional classes,
or null
if the default classloader should be used.