@Configuration
public class AdminServerWebConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
AdminServerWebConfiguration(org.springframework.context.ApplicationEventPublisher publisher,
org.springframework.boot.autoconfigure.web.ServerProperties server,
org.springframework.core.io.support.ResourcePatternResolver resourcePatternResolver,
AdminServerProperties adminServerProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) |
com.fasterxml.jackson.databind.module.SimpleModule |
adminJacksonModule() |
void |
extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
JournalController |
journalController(ApplicationEventJournal applicationEventJournal) |
void |
onClientApplicationDeregistered(ClientApplicationDeregisteredEvent event) |
void |
onClientApplicationRegistered(ClientApplicationRegisteredEvent event) |
PrefixHandlerMapping |
prefixHandlerMapping() |
RegistryController |
registryController(ApplicationRegistry applicationRegistry) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, getMessageCodesResolver, getValidatorpublic AdminServerWebConfiguration(org.springframework.context.ApplicationEventPublisher publisher,
org.springframework.boot.autoconfigure.web.ServerProperties server,
org.springframework.core.io.support.ResourcePatternResolver resourcePatternResolver,
AdminServerProperties adminServerProperties)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwarepublic void extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
extendMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerextendMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddViewControllers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public com.fasterxml.jackson.databind.module.SimpleModule adminJacksonModule()
@Bean public PrefixHandlerMapping prefixHandlerMapping()
@Bean @ConditionalOnMissingBean public RegistryController registryController(ApplicationRegistry applicationRegistry)
@Bean @ConditionalOnMissingBean public JournalController journalController(ApplicationEventJournal applicationEventJournal)
@EventListener public void onClientApplicationRegistered(ClientApplicationRegisteredEvent event)
@EventListener public void onClientApplicationDeregistered(ClientApplicationDeregisteredEvent event)
Copyright © 2018 codecentric AG. All rights reserved.