@Configuration @Import(value=EurekaServerInitializerConfiguration.class) @ConditionalOnBean(value=org.springframework.cloud.netflix.eureka.server.EurekaServerMarkerConfiguration.Marker.class) @EnableConfigurationProperties(value={EurekaDashboardProperties.class,InstanceRegistryProperties.class}) @PropertySource(value="classpath:/eureka/server.properties") public class EurekaServerAutoConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Modifier and Type | Class and Description |
|---|---|
protected static class |
EurekaServerAutoConfiguration.EurekaServerConfigBeanConfiguration |
| Modifier and Type | Field and Description |
|---|---|
static CloudJacksonJson |
JACKSON_JSON |
| Constructor and Description |
|---|
EurekaServerAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EurekaController |
eurekaController() |
EurekaServerBootstrap |
eurekaServerBootstrap(com.netflix.eureka.registry.PeerAwareInstanceRegistry registry,
com.netflix.eureka.EurekaServerContext serverContext) |
com.netflix.eureka.EurekaServerContext |
eurekaServerContext(com.netflix.eureka.resources.ServerCodecs serverCodecs,
com.netflix.eureka.registry.PeerAwareInstanceRegistry registry,
com.netflix.eureka.cluster.PeerEurekaNodes peerEurekaNodes) |
org.springframework.cloud.client.actuator.HasFeatures |
eurekaServerFeature() |
javax.ws.rs.core.Application |
jerseyApplication(org.springframework.core.env.Environment environment,
org.springframework.core.io.ResourceLoader resourceLoader)
Construct a Jersey
Application with all the resources
required by the Eureka server. |
org.springframework.boot.web.servlet.FilterRegistrationBean |
jerseyFilterRegistration(javax.ws.rs.core.Application eurekaJerseyApp)
Register the Jersey filter
|
com.netflix.eureka.registry.PeerAwareInstanceRegistry |
peerAwareInstanceRegistry(com.netflix.eureka.resources.ServerCodecs serverCodecs) |
com.netflix.eureka.cluster.PeerEurekaNodes |
peerEurekaNodes(com.netflix.eureka.registry.PeerAwareInstanceRegistry registry,
com.netflix.eureka.resources.ServerCodecs serverCodecs) |
com.netflix.eureka.resources.ServerCodecs |
serverCodecs() |
org.springframework.boot.web.servlet.FilterRegistrationBean |
traceFilterRegistration(javax.servlet.Filter filter) |
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic static final CloudJacksonJson JACKSON_JSON
@Bean public org.springframework.cloud.client.actuator.HasFeatures eurekaServerFeature()
@Bean
@ConditionalOnProperty(prefix="eureka.dashboard",
name="enabled",
matchIfMissing=true)
public EurekaController eurekaController()
@Bean public com.netflix.eureka.resources.ServerCodecs serverCodecs()
@Bean public com.netflix.eureka.registry.PeerAwareInstanceRegistry peerAwareInstanceRegistry(com.netflix.eureka.resources.ServerCodecs serverCodecs)
@Bean
@ConditionalOnMissingBean
public com.netflix.eureka.cluster.PeerEurekaNodes peerEurekaNodes(com.netflix.eureka.registry.PeerAwareInstanceRegistry registry,
com.netflix.eureka.resources.ServerCodecs serverCodecs)
@Bean
public com.netflix.eureka.EurekaServerContext eurekaServerContext(com.netflix.eureka.resources.ServerCodecs serverCodecs,
com.netflix.eureka.registry.PeerAwareInstanceRegistry registry,
com.netflix.eureka.cluster.PeerEurekaNodes peerEurekaNodes)
@Bean public EurekaServerBootstrap eurekaServerBootstrap(com.netflix.eureka.registry.PeerAwareInstanceRegistry registry, com.netflix.eureka.EurekaServerContext serverContext)
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean jerseyFilterRegistration(javax.ws.rs.core.Application eurekaJerseyApp)
@Bean
public javax.ws.rs.core.Application jerseyApplication(org.springframework.core.env.Environment environment,
org.springframework.core.io.ResourceLoader resourceLoader)
Application with all the resources
required by the Eureka server.@Bean
public org.springframework.boot.web.servlet.FilterRegistrationBean traceFilterRegistration(@Qualifier(value="httpTraceFilter")
javax.servlet.Filter filter)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.