public class GenericReactiveWebApplicationContext extends org.springframework.context.support.GenericApplicationContext implements ConfigurableReactiveWebApplicationContext
GenericApplicationContext
, suitable for reactive web environments.APPLICATION_EVENT_MULTICASTER_BEAN_NAME, LIFECYCLE_PROCESSOR_BEAN_NAME, logger, MESSAGE_SOURCE_BEAN_NAME
CONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAME
Constructor and Description |
---|
GenericReactiveWebApplicationContext()
Create a new
GenericReactiveWebApplicationContext . |
GenericReactiveWebApplicationContext(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
Create a new
GenericReactiveWebApplicationContext with the given
DefaultListableBeanFactory. |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.core.env.ConfigurableEnvironment |
createEnvironment() |
String |
getNamespace()
Return the namespace for this reactive web application context, if any.
|
protected org.springframework.core.io.Resource |
getResourceByPath(String path) |
void |
setNamespace(String namespace)
Set the namespace for this reactive web application context.
|
cancelRefresh, closeBeanFactory, getAutowireCapableBeanFactory, getBeanDefinition, getBeanFactory, getClassLoader, getDefaultListableBeanFactory, getResource, getResources, isAlias, isBeanNameInUse, refreshBeanFactory, registerAlias, registerBean, registerBean, registerBean, registerBean, registerBeanDefinition, removeAlias, removeBeanDefinition, setAllowBeanDefinitionOverriding, setAllowCircularReferences, setClassLoader, setId, setParent, setResourceLoader
addApplicationListener, addBeanFactoryPostProcessor, assertBeanFactoryActive, close, containsBean, containsBeanDefinition, containsLocalBean, destroy, destroyBeans, doClose, findAnnotationOnBean, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getApplicationName, getBean, getBean, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation, getDisplayName, getEnvironment, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResourcePatternResolver, getStartupDate, getType, initApplicationEventMulticaster, initLifecycleProcessor, initMessageSource, initPropertySources, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, isTypeMatch, obtainFreshBeanFactory, onClose, onRefresh, postProcessBeanFactory, prepareBeanFactory, prepareRefresh, publishEvent, publishEvent, publishEvent, refresh, registerBeanPostProcessors, registerListeners, registerShutdownHook, resetCommonCaches, setDisplayName, setEnvironment, start, stop, toString
addProtocolResolver, clearResourceCaches, getProtocolResolvers, getResourceCache
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addApplicationListener, addBeanFactoryPostProcessor, addProtocolResolver, close, getBeanFactory, getEnvironment, isActive, refresh, registerShutdownHook, setEnvironment, setId, setParent
getApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDate
containsBeanDefinition, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation
containsLocalBean, getParentBeanFactory
containsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatch
getMessage, getMessage, getMessage
publishEvent, publishEvent
getResources
getClassLoader, getResource
public GenericReactiveWebApplicationContext()
GenericReactiveWebApplicationContext
.GenericApplicationContext.registerBeanDefinition(java.lang.String, org.springframework.beans.factory.config.BeanDefinition)
,
AbstractApplicationContext.refresh()
public GenericReactiveWebApplicationContext(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
GenericReactiveWebApplicationContext
with the given
DefaultListableBeanFactory.beanFactory
- the DefaultListableBeanFactory instance to use for this contextGenericApplicationContext.registerBeanDefinition(java.lang.String, org.springframework.beans.factory.config.BeanDefinition)
,
AbstractApplicationContext.refresh()
protected org.springframework.core.env.ConfigurableEnvironment createEnvironment()
createEnvironment
in class org.springframework.context.support.AbstractApplicationContext
public void setNamespace(String namespace)
ConfigurableReactiveWebApplicationContext
setNamespace
in interface ConfigurableReactiveWebApplicationContext
namespace
- the namespace for the contextpublic String getNamespace()
ReactiveWebApplicationContext
getNamespace
in interface ReactiveWebApplicationContext
null
protected org.springframework.core.io.Resource getResourceByPath(String path)
getResourceByPath
in class org.springframework.core.io.DefaultResourceLoader
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.