public final class SpringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addPropertiesConfigurer(BeanDefinitionRegistry inRegistry,
String configurerName,
String locationRef)
Creates a preferences configurer bean in the given application
context.
|
static void |
addStringBean(BeanDefinitionRegistry context,
String name,
String value)
Creates a string bean in the given application context.
|
public static void addStringBean(BeanDefinitionRegistry context, String name, String value)
context - The context.name - The bean name.value - The text value.public static void addPropertiesConfigurer(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 © 2015. All Rights Reserved.