public abstract class ReactorNamespaceUtils
extends java.lang.Object
BeanDefinitionBuilder
instances that have a reference to a Reactor
reactor.Environment
as their first constructor parameter.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REACTOR_ENV_BEAN_NAME |
Modifier | Constructor and Description |
---|---|
protected |
ReactorNamespaceUtils() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.beans.factory.support.BeanDefinitionBuilder |
createBeanDefinitionBuilder(java.lang.Class<?> componentType,
org.w3c.dom.Element element)
Create a
BeanDefinitionBuilder that checks for an env attribute and uses that as the
reactor.Environment bean reference. |
public static final java.lang.String REACTOR_ENV_BEAN_NAME
public static org.springframework.beans.factory.support.BeanDefinitionBuilder createBeanDefinitionBuilder(java.lang.Class<?> componentType, org.w3c.dom.Element element)
BeanDefinitionBuilder
that checks for an env
attribute and uses that as the
reactor.Environment
bean reference. If not set, then it defaults to reactorEnv
,
which is the name of the global Reactor reactor.Environment
.componentType
- the Class
of the bean that the definition is being created forelement
- element to query for an env
attribute