Class ConfigurationService
- java.lang.Object
-
- org.springframework.cloud.gateway.support.ConfigurationService
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
public class ConfigurationService extends Object implements org.springframework.context.ApplicationEventPublisherAware
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigurationService.AbstractBuilder<T,B extends ConfigurationService.AbstractBuilder<T,B>>static classConfigurationService.ConfigurableBuilder<T,C extends Configurable<T> & ShortcutConfigurable>static classConfigurationService.InstanceBuilder<T>
-
Constructor Summary
Constructors Constructor Description ConfigurationService(org.springframework.beans.factory.BeanFactory beanFactory, Supplier<org.springframework.core.convert.ConversionService> conversionService, Supplier<org.springframework.validation.Validator> validator)ConfigurationService(org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.core.convert.ConversionService> conversionService, org.springframework.beans.factory.ObjectProvider<org.springframework.validation.Validator> validator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.context.ApplicationEventPublishergetPublisher()voidsetApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)<T,C extends Configurable<T> & ShortcutConfigurable>
ConfigurationService.ConfigurableBuilder<T,C>with(C configurable)<T> ConfigurationService.InstanceBuilder<T>with(T instance)
-
-
-
Constructor Detail
-
ConfigurationService
public ConfigurationService(org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.core.convert.ConversionService> conversionService, org.springframework.beans.factory.ObjectProvider<org.springframework.validation.Validator> validator)
-
-
Method Detail
-
getPublisher
public org.springframework.context.ApplicationEventPublisher getPublisher()
-
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
- Specified by:
setApplicationEventPublisherin interfaceorg.springframework.context.ApplicationEventPublisherAware
-
with
public <T,C extends Configurable<T> & ShortcutConfigurable> ConfigurationService.ConfigurableBuilder<T,C> with(C configurable)
-
with
public <T> ConfigurationService.InstanceBuilder<T> with(T instance)
-
-