commit
1022f4d9a3
|
@ -94,7 +94,7 @@ public class CacheProperties {
|
|||
* Resolve the config location if set.
|
||||
* @param config the config resource
|
||||
* @return the location or {@code null} if it is not set
|
||||
* @throws IllegalArgumentException if the config attribute is set to a unknown
|
||||
* @throws IllegalArgumentException if the config attribute is set to an unknown
|
||||
* location
|
||||
*/
|
||||
public Resource resolveConfigLocation(Resource config) {
|
||||
|
|
|
@ -21,7 +21,7 @@ import javax.sql.DataSource;
|
|||
import org.apache.commons.dbcp.BasicDataSource;
|
||||
|
||||
/**
|
||||
* {@link DataSourcePoolMetadata} for a Apache Commons DBCP {@link DataSource}.
|
||||
* {@link DataSourcePoolMetadata} for an Apache Commons DBCP {@link DataSource}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 1.2.0
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.springframework.util.Assert;
|
|||
import org.springframework.util.ClassUtils;
|
||||
|
||||
/**
|
||||
* Factory to create a Artemis {@link ActiveMQConnectionFactory} instance from properties
|
||||
* Factory to create an Artemis {@link ActiveMQConnectionFactory} instance from properties
|
||||
* defined in {@link ArtemisProperties}.
|
||||
*
|
||||
* @author Eddú Meléndez
|
||||
|
|
|
@ -49,7 +49,7 @@ public class WebMvcProperties {
|
|||
private String dateFormat;
|
||||
|
||||
/**
|
||||
* If the the content of the "default" model should be ignored during redirect
|
||||
* If the content of the "default" model should be ignored during redirect
|
||||
* scenarios.
|
||||
*/
|
||||
private boolean ignoreDefaultModelOnRedirect = true;
|
||||
|
@ -127,7 +127,7 @@ public class WebMvcProperties {
|
|||
private String prefix;
|
||||
|
||||
/**
|
||||
* Spring MVC view suffx.
|
||||
* Spring MVC view suffix.
|
||||
*/
|
||||
@Value("${spring.view.suffix:}")
|
||||
private String suffix;
|
||||
|
|
|
@ -83,7 +83,7 @@ class ConnectionInputStream extends FilterInputStream {
|
|||
}
|
||||
|
||||
/**
|
||||
* Read a a number of bytes from the stream (checking that the end of the stream
|
||||
* Read a number of bytes from the stream (checking that the end of the stream
|
||||
* hasn't been reached)
|
||||
* @param buffer the destination buffer
|
||||
* @param offset the buffer offset
|
||||
|
|
|
@ -133,7 +133,7 @@ content into your application; rather pick only the properties that you need.
|
|||
spring.mvc.date-format= # set fixed date format, e.g. dd/MM/yyyy
|
||||
spring.mvc.favicon.enabled=true
|
||||
spring.mvc.message-codes-resolver-format= # PREFIX_ERROR_CODE / POSTFIX_ERROR_CODE
|
||||
spring.mvc.ignore-default-model-on-redirect=true # if the the content of the "default" model should be ignored redirects
|
||||
spring.mvc.ignore-default-model-on-redirect=true # if the content of the "default" model should be ignored redirects
|
||||
spring.mvc.async.request-timeout= # async request timeout in milliseconds
|
||||
spring.mvc.view.prefix= # MVC view prefix
|
||||
spring.mvc.view.suffix= # ... and suffix
|
||||
|
|
|
@ -538,7 +538,7 @@ value but could highlight valid packages and class names that are not available
|
|||
project's classpath.
|
||||
|
||||
The meta-data snippet below corresponds to the standard `logging.level` property, keys
|
||||
are _logger names_ and values correspond to the the standard log levels or any custom
|
||||
are _logger names_ and values correspond to the standard log levels or any custom
|
||||
level:
|
||||
|
||||
[source,json,indent=0]
|
||||
|
|
|
@ -21,7 +21,7 @@ without unpacking.
|
|||
To solve this problem, many developers use "`shaded`" jars. A shaded jar simply packages
|
||||
all classes, from all jars, into a single 'uber jar'. The problem with shaded jars is
|
||||
that it becomes hard to see which libraries you are actually using in your application.
|
||||
It can also be problematic if the the same filename is used (but with different content)
|
||||
It can also be problematic if the same filename is used (but with different content)
|
||||
in multiple jars. Spring Boot takes a different approach and allows you to actually nest
|
||||
jars directly.
|
||||
|
||||
|
|
|
@ -348,7 +348,7 @@ or `systemd`.
|
|||
|
||||
|
||||
[[deployment-initd-service]]
|
||||
==== Installation as a init.d service (System V)
|
||||
==== Installation as an init.d service (System V)
|
||||
The default executable script that can be embedded into Spring Boot jars will act as an
|
||||
`init.d` script when it is symlinked to `/etc/init.d`. The standard `start`, `stop`,
|
||||
`restart` and `status` commands can be used. The script supports the following features:
|
||||
|
|
|
@ -705,7 +705,7 @@ distribute a self-contained application.
|
|||
To solve this problem, many developers use "`uber`" jars. An uber jar simply packages
|
||||
all classes, from all jars, into a single archive. The problem with this approach is that
|
||||
it becomes hard to see which libraries you are actually using in your application. It can
|
||||
also be problematic if the the same filename is used (but with different content) in
|
||||
also be problematic if the same filename is used (but with different content) in
|
||||
multiple jars.
|
||||
|
||||
Spring Boot takes a <<appendix-executable-jar-format.adoc#executable-jar, different
|
||||
|
|
|
@ -286,7 +286,7 @@ values can be injected directly into your beans using the `@Value` annotation, a
|
|||
via Spring's `Environment` abstraction or bound to structured objects.
|
||||
|
||||
Spring Boot uses a very particular `PropertySource` order that is designed to allow
|
||||
sensible overriding of values, properties are considered in the the following order:
|
||||
sensible overriding of values, properties are considered in the following order:
|
||||
|
||||
. Command line arguments.
|
||||
. JNDI attributes from `java:comp/env`.
|
||||
|
@ -2639,7 +2639,7 @@ TIP: It is also possible to {spring-reference}/#cache-annotations-put[update] or
|
|||
|
||||
|
||||
=== Supported cache providers
|
||||
The cache abstraction does not provide an actual store and relies on a abstraction
|
||||
The cache abstraction does not provide an actual store and relies on abstraction
|
||||
materialized by the `org.springframework.cache.Cache` and
|
||||
`org.springframework.cache.CacheManager` interfaces. Spring Boot auto-configures a
|
||||
suitable `CacheManager` according to the implementation as long as the caching support is
|
||||
|
|
|
@ -50,7 +50,7 @@ public interface GemstoneService {
|
|||
|
||||
/**
|
||||
* Return a listing of Gemstones currently stored in the GemFire Cache.
|
||||
* @return a Iterable object to iterate over the list of Gemstones currently stored in
|
||||
* @return an Iterable object to iterate over the list of Gemstones currently stored in
|
||||
* the GemFire Cache.
|
||||
* @see java.lang.Iterable
|
||||
* @see sample.data.gemfire.domain.Gemstone
|
||||
|
|
|
@ -97,7 +97,7 @@ public class GemstoneServiceImpl implements GemstoneService {
|
|||
* Return a listing of Gemstones currently stored in the GemFire Cache.
|
||||
* <p/>
|
||||
*
|
||||
* @return a Iterable object to iterate over the list of Gemstones currently stored in
|
||||
* @return an Iterable object to iterate over the list of Gemstones currently stored in
|
||||
* the GemFire Cache.
|
||||
* @see java.lang.Iterable
|
||||
* @see sample.data.gemfire.domain.Gemstone
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.springframework.boot.configurationsample.ConfigurationProperties;
|
|||
import org.springframework.boot.configurationsample.NestedConfigurationProperty;
|
||||
|
||||
/**
|
||||
* Demonstrate the auto-detection of a inner config classes.
|
||||
* Demonstrate the auto-detection of inner config classes.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
|
|
|
@ -25,7 +25,7 @@ package org.springframework.boot.loader.tools;
|
|||
public interface LaunchScript {
|
||||
|
||||
/**
|
||||
* The the content of the launch script as a byte array.
|
||||
* The content of the launch script as a byte array.
|
||||
* @return the script bytes
|
||||
*/
|
||||
byte[] toByteArray();
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.springframework.context.ApplicationListener;
|
|||
import org.springframework.core.Ordered;
|
||||
|
||||
/**
|
||||
* An {@link ApplicationListener} that configures {@link AnsiOutput} depending on the the
|
||||
* An {@link ApplicationListener} that configures {@link AnsiOutput} depending on the
|
||||
* value of the property {@code spring.output.ansi.enabled}. See {@link Enabled} for valid
|
||||
* values.
|
||||
*
|
||||
|
|
|
@ -153,8 +153,8 @@ public class ServletRegistrationBean extends RegistrationBean {
|
|||
}
|
||||
|
||||
/**
|
||||
* Set the the {@link MultipartConfigElement multi-part configuration}.
|
||||
* @param multipartConfig the muti-part configuration to set or {@code null}
|
||||
* Set the {@link MultipartConfigElement multi-part configuration}.
|
||||
* @param multipartConfig the multi-part configuration to set or {@code null}
|
||||
*/
|
||||
public void setMultipartConfig(MultipartConfigElement multipartConfig) {
|
||||
this.multipartConfig = multipartConfig;
|
||||
|
|
Loading…
Reference in New Issue