Merge branch '2.0.x'
This commit is contained in:
@@ -15,6 +15,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Auto-configuration for JDBC metrics.
|
||||
* Auto-configuration for JPA metrics.
|
||||
*/
|
||||
package org.springframework.boot.actuate.autoconfigure.metrics.jdbc;
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.springframework.boot.actuate.endpoint.ExposableEndpoint;
|
||||
import org.springframework.boot.actuate.endpoint.Operation;
|
||||
|
||||
/**
|
||||
* An {@link ExposableEndpoint endpoint} discovered by a {@link EndpointDiscoverer}.
|
||||
* An {@link ExposableEndpoint endpoint} discovered by an {@link EndpointDiscoverer}.
|
||||
*
|
||||
* @param <O> The operation type
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.core.annotation.AnnotationAttributes;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* A {@link OperationMethod} discovered by a {@link EndpointDiscoverer}.
|
||||
* An {@link OperationMethod} discovered by an {@link EndpointDiscoverer}.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -354,7 +354,7 @@ public abstract class EndpointDiscoverer<E extends ExposableEndpoint<O>, O exten
|
||||
DiscoveredOperationMethod operationMethod, OperationInvoker invoker);
|
||||
|
||||
/**
|
||||
* Create a {@link OperationKey} for the given operation.
|
||||
* Create an {@link OperationKey} for the given operation.
|
||||
* @param operation the source operation
|
||||
* @return the operation key
|
||||
*/
|
||||
|
||||
@@ -30,7 +30,7 @@ import javax.management.modelmbean.ModelMBeanOperationInfo;
|
||||
import org.springframework.boot.actuate.endpoint.OperationType;
|
||||
|
||||
/**
|
||||
* Factory to create {@link MBeanInfo} from a {@link ExposableJmxEndpoint}.
|
||||
* Factory to create {@link MBeanInfo} from an {@link ExposableJmxEndpoint}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 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.
|
||||
@@ -35,7 +35,7 @@ import org.springframework.data.elasticsearch.repository.config.EnableElasticsea
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Spring Data's Elasticsearch
|
||||
* support.
|
||||
* <p>
|
||||
* Registers a {@link ElasticsearchTemplate} if no other bean of the same type is
|
||||
* Registers an {@link ElasticsearchTemplate} if no other bean of the same type is
|
||||
* configured.
|
||||
*
|
||||
* @author Artur Konczak
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.util.ClassUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* An entity scanner that searches the classpath from a {@link EntityScan @EntityScan}
|
||||
* An entity scanner that searches the classpath from an {@link EntityScan @EntityScan}
|
||||
* specified packages.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -24,8 +24,8 @@ import lombok.Setter;
|
||||
import org.springframework.boot.configurationsample.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Configuration properties using lombok @Data on element level and overwriting behaviour
|
||||
* with @Getter und @Setter at field level.
|
||||
* Configuration properties using Lombok @Data on element level and overwriting behaviour
|
||||
* with @Getter and @Setter at field level.
|
||||
*
|
||||
* @author Jonas Keßler
|
||||
*/
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.core.env.SystemEnvironmentPropertySource;
|
||||
import org.springframework.util.ObjectUtils;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationPropertySource} backed by a {@link EnumerablePropertySource}.
|
||||
* {@link ConfigurationPropertySource} backed by an {@link EnumerablePropertySource}.
|
||||
* Extends {@link SpringConfigurationPropertySource} with full "relaxed" mapping support.
|
||||
* In order to use this adapter the underlying {@link PropertySource} must be fully
|
||||
* enumerable. A security restricted {@link SystemEnvironmentPropertySource} cannot be
|
||||
|
||||
@@ -35,7 +35,7 @@ public interface Origin {
|
||||
|
||||
/**
|
||||
* Find the {@link Origin} that an object originated from. Checks if the source object
|
||||
* is a {@link OriginProvider} and also searches exception stacks.
|
||||
* is an {@link OriginProvider} and also searches exception stacks.
|
||||
* @param source the source object or {@code null}
|
||||
* @return an optional {@link Origin}
|
||||
*/
|
||||
|
||||
@@ -19,7 +19,7 @@ package org.springframework.boot.origin;
|
||||
import org.springframework.util.ObjectUtils;
|
||||
|
||||
/**
|
||||
* An wrapper for a {@link Object} value and {@link Origin}.
|
||||
* A wrapper for an {@link Object} value and {@link Origin}.
|
||||
*
|
||||
* @author Madhura Bhave
|
||||
* @author Phillip Webb
|
||||
@@ -79,7 +79,7 @@ public class OriginTrackedValue implements OriginProvider {
|
||||
* the resulting {@link OriginTrackedValue}.
|
||||
* @param value the source value
|
||||
* @param origin the origin
|
||||
* @return a {@link OriginTrackedValue} or {@code null} if the source value was
|
||||
* @return an {@link OriginTrackedValue} or {@code null} if the source value was
|
||||
* {@code null}.
|
||||
*/
|
||||
public static OriginTrackedValue of(Object value, Origin origin) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 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.
|
||||
@@ -67,8 +67,8 @@ public class PropertySourceOrigin implements Origin {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a {@link Origin} for the given {@link PropertySource} and {@code propertyName}.
|
||||
* Will either return an {@link OriginLookup} result or a
|
||||
* Get an {@link Origin} for the given {@link PropertySource} and
|
||||
* {@code propertyName}. Will either return an {@link OriginLookup} result or a
|
||||
* {@link PropertySourceOrigin}.
|
||||
* @param propertySource the origin property source
|
||||
* @param name the property name
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 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.
|
||||
@@ -160,7 +160,7 @@ public class SpringConfigurationPropertySourceTests {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test {@link PropertySource} that's also a {@link OriginLookup}.
|
||||
* Test {@link PropertySource} that's also an {@link OriginLookup}.
|
||||
*/
|
||||
private static class OriginCapablePropertySource<T> extends PropertySource<T>
|
||||
implements OriginLookup<String> {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 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.
|
||||
@@ -158,7 +158,7 @@ public class SpringIterableConfigurationPropertySourceTests {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test {@link PropertySource} that's also a {@link OriginLookup}.
|
||||
* Test {@link PropertySource} that's also an {@link OriginLookup}.
|
||||
*/
|
||||
private static class OriginCapablePropertySource<T>
|
||||
extends EnumerablePropertySource<T> implements OriginLookup<String> {
|
||||
|
||||
Reference in New Issue
Block a user