Fix bean type visibility

Closes gh-28437
pull/28448/head
Stephane Nicoll 3 years ago
parent a392d80b4f
commit 837e2ac277

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2019 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -161,7 +161,7 @@ public class ReactiveCloudFoundryActuatorAutoConfiguration {
} }
private static class WebFilterChainPostProcessor implements BeanPostProcessor { static class WebFilterChainPostProcessor implements BeanPostProcessor {
@Override @Override
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException { public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -112,7 +112,7 @@ class WebMvcEndpointChildContextConfiguration {
* {@link WebServerFactoryCustomizer} to add an {@link ErrorPage} so that the * {@link WebServerFactoryCustomizer} to add an {@link ErrorPage} so that the
* {@link ManagementErrorEndpoint} can be used. * {@link ManagementErrorEndpoint} can be used.
*/ */
private static class ManagementErrorPageCustomizer static class ManagementErrorPageCustomizer
implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>, Ordered { implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>, Ordered {
private final ServerProperties properties; private final ServerProperties properties;

@ -399,7 +399,7 @@ public class FlywayAutoConfiguration {
/** /**
* Convert a String or Number to a {@link MigrationVersion}. * Convert a String or Number to a {@link MigrationVersion}.
*/ */
private static class StringOrNumberToMigrationVersionConverter implements GenericConverter { static class StringOrNumberToMigrationVersionConverter implements GenericConverter {
private static final Set<ConvertiblePair> CONVERTIBLE_TYPES; private static final Set<ConvertiblePair> CONVERTIBLE_TYPES;

@ -63,8 +63,7 @@ public class HypermediaHttpMessageConverterConfiguration {
* {@code Jackson2ModuleRegisteringBeanPostProcessor} has registered the converter and * {@code Jackson2ModuleRegisteringBeanPostProcessor} has registered the converter and
* it is unordered. * it is unordered.
*/ */
private static class HalMessageConverterSupportedMediaTypesCustomizer static class HalMessageConverterSupportedMediaTypesCustomizer implements BeanFactoryAware, InitializingBean {
implements BeanFactoryAware, InitializingBean {
private volatile BeanFactory beanFactory; private volatile BeanFactory beanFactory;

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -94,14 +94,14 @@ public class MongoReactiveAutoConfiguration {
/** /**
* {@link MongoClientSettingsBuilderCustomizer} to apply Mongo client settings. * {@link MongoClientSettingsBuilderCustomizer} to apply Mongo client settings.
*/ */
private static final class NettyDriverMongoClientSettingsBuilderCustomizer static final class NettyDriverMongoClientSettingsBuilderCustomizer
implements MongoClientSettingsBuilderCustomizer, DisposableBean { implements MongoClientSettingsBuilderCustomizer, DisposableBean {
private final ObjectProvider<MongoClientSettings> settings; private final ObjectProvider<MongoClientSettings> settings;
private volatile EventLoopGroup eventLoopGroup; private volatile EventLoopGroup eventLoopGroup;
private NettyDriverMongoClientSettingsBuilderCustomizer(ObjectProvider<MongoClientSettings> settings) { NettyDriverMongoClientSettingsBuilderCustomizer(ObjectProvider<MongoClientSettings> settings) {
this.settings = settings; this.settings = settings;
} }

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2019 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -93,7 +93,7 @@ public class WebServicesAutoConfiguration {
} }
private static class WsdlDefinitionBeanFactoryPostProcessor static class WsdlDefinitionBeanFactoryPostProcessor
implements BeanDefinitionRegistryPostProcessor, ApplicationContextAware { implements BeanDefinitionRegistryPostProcessor, ApplicationContextAware {
private ApplicationContext applicationContext; private ApplicationContext applicationContext;

Loading…
Cancel
Save