public class ConfigurationService extends Object implements org.springframework.context.ApplicationEventPublisherAware
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationService.AbstractBuilder<T,B extends ConfigurationService.AbstractBuilder<T,B>> |
class |
ConfigurationService.ConfigurableBuilder<T,C extends Configurable<T> & ShortcutConfigurable> |
class |
ConfigurationService.InstanceBuilder<T> |
Constructor and Description |
---|
ConfigurationService()
Deprecated.
|
ConfigurationService(org.springframework.beans.factory.BeanFactory beanFactory,
org.springframework.core.convert.ConversionService conversionService,
org.springframework.validation.Validator validator) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
bindOrCreate(org.springframework.boot.context.properties.bind.Bindable<T> bindable,
Map<String,Object> properties,
String configurationPropertyName,
org.springframework.validation.Validator validator,
org.springframework.core.convert.ConversionService conversionService)
Deprecated.
|
org.springframework.beans.factory.BeanFactory |
getBeanFactory() |
org.springframework.context.ApplicationEventPublisher |
getPublisher() |
static <T> T |
getTargetObject(Object candidate)
Deprecated.
|
org.springframework.validation.Validator |
getValidator() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Deprecated.
|
void |
setConversionService(org.springframework.core.convert.ConversionService conversionService)
Deprecated.
|
void |
setParser(org.springframework.expression.spel.standard.SpelExpressionParser parser) |
void |
setValidator(org.springframework.validation.Validator validator)
Deprecated.
|
<T,C extends Configurable<T> & ShortcutConfigurable> |
with(C configurable) |
<T> ConfigurationService.InstanceBuilder<T> |
with(T instance) |
@Deprecated public ConfigurationService()
public ConfigurationService(org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.core.convert.ConversionService conversionService, org.springframework.validation.Validator validator)
public org.springframework.context.ApplicationEventPublisher getPublisher()
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
public org.springframework.beans.factory.BeanFactory getBeanFactory()
@Deprecated public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
@Deprecated public void setConversionService(org.springframework.core.convert.ConversionService conversionService)
public void setParser(org.springframework.expression.spel.standard.SpelExpressionParser parser)
public org.springframework.validation.Validator getValidator()
@Deprecated public void setValidator(org.springframework.validation.Validator validator)
public <T,C extends Configurable<T> & ShortcutConfigurable> ConfigurationService.ConfigurableBuilder<T,C> with(C configurable)
public <T> ConfigurationService.InstanceBuilder<T> with(T instance)
@Deprecated public static <T> T bindOrCreate(org.springframework.boot.context.properties.bind.Bindable<T> bindable, Map<String,Object> properties, String configurationPropertyName, org.springframework.validation.Validator validator, org.springframework.core.convert.ConversionService conversionService)
@Deprecated public static <T> T getTargetObject(Object candidate)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.