Merge branch '1.5.x' into 2.0.x

This commit is contained in:
Phillip Webb 2019-06-28 23:27:59 -07:00
commit cfeb0239b7
342 changed files with 332 additions and 139 deletions

View File

@ -27,6 +27,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* Configuration properties for {@link HealthEndpoint}.
*
* @author Phillip Webb
* @since 2.0.0
*/
@ConfigurationProperties("management.endpoint.health")
public class HealthEndpointProperties {

View File

@ -40,6 +40,7 @@ import org.springframework.util.Assert;
* (wrappers for AuditEvent).
*
* @author Dave Syer
* @since 1.0.0
* @see AuditEventRepository
*/
@JsonInclude(Include.NON_EMPTY)

View File

@ -24,6 +24,7 @@ import java.util.List;
*
* @author Dave Syer
* @author Vedran Pavic
* @since 1.0.0
*/
public interface AuditEventRepository {

View File

@ -28,6 +28,7 @@ import org.springframework.util.Assert;
* @author Dave Syer
* @author Phillip Webb
* @author Vedran Pavic
* @since 1.0.0
*/
public class InMemoryAuditEventRepository implements AuditEventRepository {

View File

@ -27,6 +27,7 @@ import org.springframework.util.Assert;
* Spring {@link ApplicationEvent} to encapsulate {@link AuditEvent}s.
*
* @author Dave Syer
* @since 1.0.0
*/
public class AuditApplicationEvent extends ApplicationEvent {

View File

@ -29,6 +29,7 @@ import org.springframework.boot.actuate.audit.AuditEventRepository;
* @author Dave Syer
* @author Stephane Nicoll
* @author Vedran Pavic
* @since 1.0.0
*/
public class AuditListener extends AbstractAuditListener {

View File

@ -24,6 +24,7 @@ import org.springframework.util.Assert;
* the endpoint.
*
* @author Phillip Webb
* @since 2.0.0
*/
public abstract class DiscovererEndpointFilter implements EndpointFilter<DiscoveredEndpoint<?>> {

View File

@ -30,6 +30,7 @@ import org.springframework.util.StringUtils;
* Contains details of a servlet that is exposed as an actuator endpoint.
*
* @author Phillip Webb
* @since 2.0.0
*/
public final class EndpointServlet {

View File

@ -33,6 +33,7 @@ import org.springframework.util.Assert;
* A collection of {@link PathMappedEndpoint path mapped endpoints}.
*
* @author Phillip Webb
* @since 2.0.0
*/
public class PathMappedEndpoints implements Iterable<PathMappedEndpoint> {

View File

@ -21,6 +21,7 @@ package org.springframework.boot.actuate.health;
*
* @author Dave Syer
* @author Christian Dupuis
* @since 1.2.0
* @see Status#UP
*/
public class ApplicationHealthIndicator extends AbstractHealthIndicator {

View File

@ -20,6 +20,7 @@ package org.springframework.boot.actuate.health;
* Strategy interface used to provide an indication of application health.
*
* @author Dave Syer
* @since 1.0.0
* @see ApplicationHealthIndicator
*/
@FunctionalInterface

View File

@ -31,7 +31,7 @@ import org.springframework.util.Assert;
*
* @author Eddú Meléndez
* @author Stephane Nicoll
* @version 2.0.0
* @since 2.0.0
*/
public class LdapHealthIndicator extends AbstractHealthIndicator {

View File

@ -37,7 +37,6 @@ import org.springframework.web.util.UriTemplateHandler;
*
* @author Jon Schneider
* @author Phillip Webb
* @since 2.0.0
*/
class MetricsClientHttpRequestInterceptor implements ClientHttpRequestInterceptor {

View File

@ -31,6 +31,7 @@ import org.springframework.util.ClassUtils;
*
* @author Dave Syer
* @author Vedran Pavic
* @since 1.0.0
*/
public class AuthenticationAuditListener extends AbstractAuthenticationAuditListener {

View File

@ -29,6 +29,7 @@ import org.springframework.security.access.event.AuthorizationFailureEvent;
*
* @author Dave Syer
* @author Vedran Pavic
* @since 1.0.0
*/
public class AuthorizationAuditListener extends AbstractAuthorizationAuditListener {

View File

@ -32,7 +32,7 @@ import org.springframework.web.context.WebApplicationContext;
* Servlets} registered with a {@link ServletContext}.
*
* @author Andy Wilkinson
* @since 2.0
* @since 2.0.0
*/
public class ServletsMappingDescriptionProvider implements MappingDescriptionProvider {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2018 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -45,6 +45,7 @@ import org.springframework.util.StringUtils;
* @author Phillip Webb
* @author Dave Syer
* @author Oliver Gierke
* @since 1.0.0
*/
public abstract class AutoConfigurationPackages {

View File

@ -27,6 +27,7 @@ import java.lang.annotation.Target;
* after other specified auto-configuration classes.
*
* @author Phillip Webb
* @since 1.0.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })

View File

@ -27,6 +27,7 @@ import java.lang.annotation.Target;
* before other specified auto-configuration classes.
*
* @author Phillip Webb
* @since 1.0.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -66,6 +66,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader;
*
* @author Phillip Webb
* @author Stephane Nicoll
* @since 1.0.0
* @see ConditionalOnBean
* @see ConditionalOnMissingBean
* @see ConditionalOnClass

View File

@ -44,7 +44,6 @@ import org.springframework.core.type.classreading.MetadataReaderFactory;
* {@link ConfigurationClassPostProcessor} and Spring Boot.
*
* @author Phillip Webb
* @since 1.4.0
*/
class SharedMetadataReaderFactoryContextInitializer
implements ApplicationContextInitializer<ConfigurableApplicationContext> {

View File

@ -26,7 +26,7 @@ import org.springframework.boot.context.properties.PropertyMapper;
*
* @author Gary Russell
* @author Stephane Nicoll
* @since 2.0
* @since 2.0.0
*/
public final class DirectRabbitListenerContainerFactoryConfigurer
extends AbstractRabbitListenerContainerFactoryConfigurer<DirectRabbitListenerContainerFactory> {

View File

@ -35,7 +35,6 @@ import org.springframework.context.annotation.Configuration;
*
* @author Stephane Nicoll
* @author Josh Thornhill
* @since 1.2.0
*/
@Configuration
@ConditionalOnClass(EnableRabbit.class)

View File

@ -83,6 +83,7 @@ import org.springframework.util.ReflectionUtils;
* @author Stephane Nicoll
* @author Gary Russell
* @author Phillip Webb
* @since 1.0.0
*/
@Configuration
@ConditionalOnClass({ RabbitTemplate.class, Channel.class })

View File

@ -37,6 +37,7 @@ import org.springframework.util.StringUtils;
* @author Andy Wilkinson
* @author Josh Thornhill
* @author Gary Russell
* @since 1.0.0
*/
@ConfigurationProperties(prefix = "spring.rabbitmq")
public class RabbitProperties {

View File

@ -37,6 +37,7 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy;
*
* @author Dave Syer
* @author Josh Long
* @since 1.0.0
* @see EnableAspectJAutoProxy
*/
@Configuration

View File

@ -38,6 +38,7 @@ import org.springframework.transaction.PlatformTransactionManager;
* @author Andy Wilkinson
* @author Kazuki Shimizu
* @author Stephane Nicoll
* @since 1.0.0
*/
public class BasicBatchConfigurer implements BatchConfigurer {

View File

@ -57,6 +57,7 @@ import org.springframework.util.StringUtils;
* @author Eddú Meléndez
* @author Kazuki Shimizu
* @author Mahmoud Ben Hassine
* @since 1.0.0
*/
@Configuration
@ConditionalOnClass({ JobLauncher.class, DataSource.class, JdbcOperations.class })

View File

@ -28,6 +28,7 @@ import org.springframework.util.Assert;
*
* @author Dave Syer
* @author Vedran Pavic
* @since 1.0.0
*/
public class BatchDataSourceInitializer extends AbstractDataSourceInitializer {

View File

@ -23,6 +23,7 @@ import org.springframework.context.ApplicationEvent;
* Spring {@link ApplicationEvent} encapsulating a {@link JobExecution}.
*
* @author Dave Syer
* @since 1.0.0
*/
@SuppressWarnings("serial")
public class JobExecutionEvent extends ApplicationEvent {

View File

@ -27,6 +27,7 @@ import org.springframework.context.ApplicationListener;
* {@link ExitCodeGenerator} for {@link JobExecutionEvent}s.
*
* @author Dave Syer
* @since 1.0.0
*/
public class JobExecutionExitCodeGenerator implements ApplicationListener<JobExecutionEvent>, ExitCodeGenerator {

View File

@ -63,6 +63,7 @@ import org.springframework.util.StringUtils;
* @author Dave Syer
* @author Jean-Pierre Bergamin
* @author Mahmoud Ben Hassine
* @since 1.0.0
*/
public class JobLauncherCommandLineRunner implements CommandLineRunner, Ordered, ApplicationEventPublisherAware {

View File

@ -30,6 +30,7 @@ import org.springframework.transaction.PlatformTransactionManager;
* A {@link BasicBatchConfigurer} tailored for JPA.
*
* @author Stephane Nicoll
* @since 2.0.0
*/
public class JpaBatchConfigurer extends BasicBatchConfigurer {

View File

@ -34,7 +34,6 @@ import org.springframework.core.type.ClassMetadata;
* @author Stephane Nicoll
* @author Phillip Webb
* @author Madhura Bhave
* @since 1.3.0
*/
class CacheCondition extends SpringBootCondition {

View File

@ -37,7 +37,6 @@ import org.springframework.util.StringUtils;
* Caffeine cache configuration.
*
* @author Eddú Meléndez
* @since 1.4.0
*/
@Configuration
@ConditionalOnClass({ Caffeine.class, CaffeineCacheManager.class })

View File

@ -36,7 +36,6 @@ import org.springframework.core.io.Resource;
* @author Eddú Meléndez
* @author Stephane Nicoll
* @author Madhura Bhave
* @since 1.3.0
*/
@Configuration
@ConditionalOnClass({ Cache.class, EhCacheCacheManager.class })

View File

@ -32,7 +32,6 @@ import org.springframework.context.annotation.Configuration;
* context.
*
* @author Stephane Nicoll
* @since 1.3.0
*/
@Configuration
@ConditionalOnBean(Cache.class)

View File

@ -40,7 +40,6 @@ import org.springframework.context.annotation.Configuration;
* default {@link HazelcastInstance} is still made, using the same defaults.
*
* @author Stephane Nicoll
* @since 1.3.0
* @see HazelcastConfigResourceCondition
*/
@Configuration

View File

@ -54,7 +54,6 @@ import org.springframework.util.StringUtils;
*
* @author Stephane Nicoll
* @author Madhura Bhave
* @since 1.3.0
*/
@Configuration
@ConditionalOnClass({ Caching.class, JCacheCacheManager.class })

View File

@ -27,7 +27,6 @@ import org.springframework.context.annotation.Configuration;
* No-op cache configuration used to disable caching via configuration.
*
* @author Stephane Nicoll
* @since 1.3.0
*/
@Configuration
@ConditionalOnMissingBean(CacheManager.class)

View File

@ -43,7 +43,6 @@ import org.springframework.data.redis.serializer.RedisSerializationContext.Seria
* @author Stephane Nicoll
* @author Mark Paluch
* @author Ryon Day
* @since 1.3.0
*/
@Configuration
@ConditionalOnClass(RedisConnectionFactory.class)

View File

@ -29,7 +29,6 @@ import org.springframework.context.annotation.Configuration;
* Simplest cache configuration, usually used as a fallback.
*
* @author Stephane Nicoll
* @since 1.3.0
*/
@Configuration
@ConditionalOnMissingBean(CacheManager.class)

View File

@ -62,7 +62,6 @@ import org.springframework.util.StringUtils;
*
* @author Phillip Webb
* @author Andy Wilkinson
* @since 1.2.0
*/
final class BeanTypeRegistry implements SmartInitializingSingleton {

View File

@ -43,6 +43,7 @@ import org.springframework.util.ObjectUtils;
* @author Dave Syer
* @author Phillip Webb
* @author Andy Wilkinson
* @since 1.0.0
*/
public final class ConditionEvaluationReport {

View File

@ -23,6 +23,7 @@ import org.springframework.util.ObjectUtils;
* Outcome for a condition match, including log message.
*
* @author Phillip Webb
* @since 1.0.0
* @see ConditionMessage
*/
public class ConditionOutcome {

View File

@ -55,6 +55,7 @@ import org.springframework.context.annotation.Conditional;
* another auto-configuration, make sure that the one using this condition runs after.
*
* @author Phillip Webb
* @since 1.0.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -34,6 +34,7 @@ import org.springframework.context.annotation.Conditional;
* matches the {@link #value target of the condition}.
*
* @author Phillip Webb
* @since 1.0.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -29,6 +29,7 @@ import org.springframework.context.annotation.Conditional;
* expression.
*
* @author Dave Syer
* @since 1.0.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })

View File

@ -56,6 +56,7 @@ import org.springframework.context.annotation.Conditional;
*
* @author Phillip Webb
* @author Andy Wilkinson
* @since 1.0.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -29,6 +29,7 @@ import org.springframework.context.annotation.Conditional;
* classpath.
*
* @author Dave Syer
* @since 1.0.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -29,6 +29,7 @@ import org.springframework.context.annotation.Conditional;
* application context.
*
* @author Dave Syer
* @since 1.0.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -29,6 +29,7 @@ import org.springframework.context.annotation.Conditional;
* classpath.
*
* @author Dave Syer
* @since 1.0.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -31,6 +31,7 @@ import org.springframework.context.annotation.Conditional;
*
* @author Dave Syer
* @author Stephane Nicoll
* @since 1.0.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -32,7 +32,6 @@ import org.springframework.core.type.AnnotatedTypeMetadata;
* @author Oliver Gierke
* @author Phillip Webb
* @see ConditionalOnJava
* @since 1.1.0
*/
@Order(Ordered.HIGHEST_PRECEDENCE + 20)
class OnJavaCondition extends SpringBootCondition {

View File

@ -32,7 +32,6 @@ import org.springframework.util.StringUtils;
* {@link Condition} that checks for JNDI locations.
*
* @author Phillip Webb
* @since 1.2.0
* @see ConditionalOnJndi
*/
@Order(Ordered.LOWEST_PRECEDENCE - 20)

View File

@ -40,7 +40,6 @@ import org.springframework.util.StringUtils;
* @author Phillip Webb
* @author Stephane Nicoll
* @author Andy Wilkinson
* @since 1.1.0
* @see ConditionalOnProperty
*/
@Order(Ordered.HIGHEST_PRECEDENCE + 40)

View File

@ -20,6 +20,7 @@ package org.springframework.boot.autoconfigure.condition;
* Some named search strategies for beans in the bean factory hierarchy.
*
* @author Dave Syer
* @since 1.0.0
*/
public enum SearchStrategy {

View File

@ -34,6 +34,7 @@ import org.springframework.util.StringUtils;
*
* @author Phillip Webb
* @author Greg Turnquist
* @since 1.0.0
*/
public abstract class SpringBootCondition implements Condition {

View File

@ -47,6 +47,7 @@ import org.springframework.util.StringUtils;
* @author Dave Syer
* @author Phillip Webb
* @author Eddú Meléndez
* @since 1.5.0
*/
@Configuration
@ConditionalOnMissingBean(value = MessageSource.class, search = SearchStrategy.CURRENT)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -31,6 +31,7 @@ import org.springframework.core.Ordered;
*
* @author Phillip Webb
* @author Dave Syer
* @since 1.5.0
*/
@Configuration
@AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)

View File

@ -42,6 +42,7 @@ import org.springframework.data.util.Streamable;
* @author Phillip Webb
* @author Dave Syer
* @author Oliver Gierke
* @since 1.0.0
*/
public abstract class AbstractRepositoryConfigurationSourceSupport
implements BeanFactoryAware, ImportBeanDefinitionRegistrar, ResourceLoaderAware, EnvironmentAware {

View File

@ -29,7 +29,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
* Reactive Repositories.
*
* @author Eddú Meléndez
* @since 2.0.0
*/
class CassandraReactiveRepositoriesAutoConfigureRegistrar extends AbstractRepositoryConfigurationSourceSupport {

View File

@ -29,7 +29,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
* Repositories.
*
* @author Eddú Meléndez
* @since 1.3.0
*/
class CassandraRepositoriesAutoConfigureRegistrar extends AbstractRepositoryConfigurationSourceSupport {

View File

@ -30,7 +30,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
*
* @author Artur Konczak
* @author Mohsin Husen
* @since 1.1.0
*/
class ElasticsearchRepositoriesRegistrar extends AbstractRepositoryConfigurationSourceSupport {

View File

@ -49,6 +49,7 @@ import org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean;
*
* @author Phillip Webb
* @author Josh Long
* @since 1.0.0
* @see EnableJpaRepositories
*/
@Configuration

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -29,7 +29,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
* Repositories.
*
* @author Eddú Meléndez
* @since 1.5.0
*/
class LdapRepositoriesRegistrar extends AbstractRepositoryConfigurationSourceSupport {

View File

@ -29,7 +29,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
* Repositories.
*
* @author Mark Paluch
* @since 2.0.0
*/
class MongoReactiveRepositoriesAutoConfigureRegistrar extends AbstractRepositoryConfigurationSourceSupport {

View File

@ -50,6 +50,7 @@ import org.springframework.data.mongodb.repository.support.MongoRepositoryFactor
* @author Dave Syer
* @author Oliver Gierke
* @author Josh Long
* @since 1.0.0
* @see EnableMongoRepositories
*/
@Configuration

View File

@ -42,6 +42,7 @@ import org.springframework.data.redis.core.StringRedisTemplate;
* @author Stephane Nicoll
* @author Marco Aust
* @author Mark Paluch
* @since 1.0.0
*/
@Configuration
@ConditionalOnClass(RedisOperations.class)

View File

@ -30,6 +30,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* @author Marco Aust
* @author Mark Paluch
* @author Stephane Nicoll
* @since 1.0.0
*/
@ConfigurationProperties(prefix = "spring.redis")
public class RedisProperties {

View File

@ -29,7 +29,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
* Repositories.
*
* @author Eddú Meléndez
* @since 1.4.0
*/
class RedisRepositoriesAutoConfigureRegistrar extends AbstractRepositoryConfigurationSourceSupport {

View File

@ -29,7 +29,6 @@ import org.springframework.data.solr.repository.config.SolrRepositoryConfigExten
* repositories.
*
* @author Christoph Strobl
* @since 1.1.0
*/
class SolrRepositoriesRegistrar extends AbstractRepositoryConfigurationSourceSupport {

View File

@ -24,6 +24,7 @@ import org.flywaydb.core.Flyway;
*
* @author Andreas Ahlenstorf
* @author Phillip Webb
* @since 1.3.0
*/
@FunctionalInterface
public interface FlywayMigrationStrategy {

View File

@ -41,6 +41,7 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandl
* enabled.
*
* @author Andy Wilkinson
* @since 1.3.0
*/
@Configuration
public class HypermediaHttpMessageConverterConfiguration {

View File

@ -35,7 +35,6 @@ import org.springframework.http.converter.json.MappingJackson2HttpMessageConvert
*
* @author Andy Wilkinson
* @author Eddú Meléndez
* @since 1.2.2
*/
@Configuration
@ConditionalOnClass(Gson.class)

View File

@ -28,7 +28,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
*
* @author Stephane Nicoll
* @author Brian Clozel
* @since 1.2.0
* @since 2.0.0
*/
@ConfigurationProperties(prefix = "spring.http.encoding")
public class HttpEncodingProperties {

View File

@ -50,6 +50,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupp
* @author Dave Syer
* @author Phillip Webb
* @author Andy Wilkinson
* @since 2.0.0
* @see #HttpMessageConverters(HttpMessageConverter...)
* @see #HttpMessageConverters(Collection)
* @see #getConverters()

View File

@ -46,6 +46,7 @@ import org.springframework.http.converter.StringHttpMessageConverter;
* @author Sebastien Deleuze
* @author Stephane Nicoll
* @author Eddú Meléndez
* @since 2.0.0
*/
@Configuration
@ConditionalOnClass(HttpMessageConverter.class)

View File

@ -33,7 +33,6 @@ import org.springframework.http.converter.xml.MappingJackson2XmlHttpMessageConve
* Configuration for HTTP message converters that use Jackson.
*
* @author Andy Wilkinson
* @since 1.2.2
*/
@Configuration
class JacksonHttpMessageConvertersConfiguration {

View File

@ -34,7 +34,6 @@ import org.springframework.http.converter.json.MappingJackson2HttpMessageConvert
* Configuration for HTTP Message converters that use JSON-B.
*
* @author Eddú Meléndez
* @since 2.0.0
*/
@Configuration
@ConditionalOnClass(Jsonb.class)

View File

@ -46,6 +46,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
* @author Phillip Webb
* @author Stephane Nicoll
* @author Kazuki Shimizu
* @since 1.0.0
*/
@Configuration
@ConditionalOnClass({ DataSource.class, EmbeddedDatabaseType.class })

View File

@ -29,7 +29,6 @@ import org.springframework.core.Ordered;
* initialized as soon as a {@link DataSource} is.
*
* @author Dave Syer
* @since 1.1.2
*/
class DataSourceInitializerPostProcessor implements BeanPostProcessor, Ordered {

View File

@ -41,6 +41,7 @@ import org.springframework.transaction.PlatformTransactionManager;
* @author Stephane Nicoll
* @author Andy Wilkinson
* @author Kazuki Shimizu
* @since 1.0.0
*/
@Configuration
@ConditionalOnClass({ JdbcTemplate.class, PlatformTransactionManager.class })

View File

@ -31,6 +31,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder;
*
* @author Phillip Webb
* @author Stephane Nicoll
* @since 1.0.0
* @see DataSourceAutoConfiguration
*/
@Configuration

View File

@ -77,6 +77,7 @@ import org.springframework.web.filter.RequestContextFilter;
* @author Andy Wilkinson
* @author Eddú Meléndez
* @author Stephane Nicoll
* @since 1.2.0
*/
@Configuration
@ConditionalOnClass(

View File

@ -37,7 +37,6 @@ import org.springframework.transaction.jta.JtaTransactionManager;
*
* @author Phillip Webb
* @author Stephane Nicoll
* @since 1.2.0
*/
@Configuration
@ConditionalOnClass(EnableJms.class)

View File

@ -44,6 +44,7 @@ import org.springframework.jms.support.destination.DestinationResolver;
*
* @author Greg Turnquist
* @author Stephane Nicoll
* @since 1.0.0
*/
@Configuration
@ConditionalOnClass({ Message.class, JmsTemplate.class })

View File

@ -26,6 +26,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* @author Greg Turnquist
* @author Phillip Webb
* @author Stephane Nicoll
* @since 1.0.0
*/
@ConfigurationProperties(prefix = "spring.jms")
public class JmsProperties {

View File

@ -38,7 +38,6 @@ import org.springframework.context.annotation.Configuration;
* @author Phillip Webb
* @author Andy Wilkinson
* @author Aurélien Leboulanger
* @since 1.1.0
*/
@Configuration
@ConditionalOnMissingBean(ConnectionFactory.class)

View File

@ -32,7 +32,6 @@ import org.springframework.util.StringUtils;
*
* @author Phillip Webb
* @author Venil Noronha
* @since 1.2.0
*/
class ActiveMQConnectionFactoryFactory {

View File

@ -30,6 +30,7 @@ import org.springframework.boot.context.properties.DeprecatedConfigurationProper
* @author Stephane Nicoll
* @author Aurélien Leboulanger
* @author Venil Noronha
* @since 1.0.0
*/
@ConfigurationProperties(prefix = "spring.activemq")
public class ActiveMQProperties {

View File

@ -39,7 +39,6 @@ import org.springframework.context.annotation.Primary;
*
* @author Phillip Webb
* @author Aurélien Leboulanger
* @since 1.2.0
*/
@Configuration
@ConditionalOnClass(TransactionManager.class)

View File

@ -35,7 +35,6 @@ import org.springframework.context.annotation.Primary;
*
* @author Eddú Meléndez
* @author Phillip Webb
* @since 1.3.0
*/
@Configuration
@ConditionalOnMissingBean(ConnectionFactory.class)

View File

@ -49,6 +49,7 @@ import org.springframework.util.StringUtils;
*
* @author Christian Dupuis
* @author Madhura Bhave
* @since 1.0.0
*/
@Configuration
@ConditionalOnClass({ MBeanExporter.class })

View File

@ -33,7 +33,6 @@ import org.springframework.kafka.support.converter.RecordMessageConverter;
*
* @author Gary Russell
* @author Eddú Meléndez
* @since 1.5.0
*/
@Configuration
@ConditionalOnClass(EnableKafka.class)

View File

@ -47,6 +47,7 @@ import org.springframework.util.Assert;
* @author Phillip Webb
* @author Andy Wilkinson
* @author Madhura Bhave
* @since 2.0.0
*/
public class ConditionEvaluationReportLoggingListener
implements ApplicationContextInitializer<ConfigurableApplicationContext> {

View File

@ -38,6 +38,7 @@ import org.springframework.core.env.Environment;
* @author Phillip Webb
* @author Mark Paluch
* @author Stephane Nicoll
* @since 1.0.0
*/
@Configuration
@ConditionalOnClass(MongoClient.class)

View File

@ -31,6 +31,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* @author Stephane Nicoll
* @author Nasko Vasilev
* @author Mark Paluch
* @since 1.0.0
*/
@ConfigurationProperties(prefix = "spring.data.mongodb")
public class MongoProperties {

View File

@ -39,7 +39,6 @@ import org.springframework.core.type.AnnotationMetadata;
* only be registered via the inner {@link Registrar} class.
*
* @author Dave Syer
* @since 1.1.0
*/
class DataSourceInitializedPublisher implements BeanPostProcessor {

Some files were not shown because too many files have changed in this diff Show More