public final class SpringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addPropertiesConfigurer(org.springframework.beans.factory.support.BeanDefinitionRegistry inRegistry,
String configurerName,
String locationRef)
Creates a preferences configurer bean in the given application
context.
|
static void |
addStringBean(org.springframework.beans.factory.support.BeanDefinitionRegistry context,
String name,
String value)
Creates a string bean in the given application context.
|
public static void addStringBean(org.springframework.beans.factory.support.BeanDefinitionRegistry context,
String name,
String value)
context - The context.name - The bean name.value - The text value.public static void addPropertiesConfigurer(org.springframework.beans.factory.support.BeanDefinitionRegistry inRegistry,
String configurerName,
String locationRef)
inRegistry - The context.configurerName - The bean name.locationRef - The name of the bean whose value is the
properties' locations (can be a string or a list).Copyright © 2017. All Rights Reserved.