Remote trailing whitespace
This commit is contained in:
@@ -36,7 +36,7 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* Class for storing auto-configuration packages for reference later (e.g. by JPA entity
|
||||
* scanner).
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -42,7 +42,7 @@ import org.springframework.util.Assert;
|
||||
* Sort {@link EnableAutoConfiguration auto-configuration} classes into priority order by
|
||||
* reading {@link Ordered} and {@link AutoConfigureAfter} annotations (without loading
|
||||
* classes).
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
class AutoConfigurationSorter {
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.lang.annotation.Target;
|
||||
/**
|
||||
* Hint for that an {@link EnableAutoConfiguration auto-configuration} should be applied
|
||||
* after other specified auto-configuration classes.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.lang.annotation.Target;
|
||||
/**
|
||||
* Hint for that an {@link EnableAutoConfiguration auto-configuration} should be applied
|
||||
* before other specified auto-configuration classes.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
|
||||
@@ -56,7 +56,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader;
|
||||
* Generally auto-configuration beans are {@link Conditional @Conditional} beans (most
|
||||
* often using {@link ConditionalOnClass @ConditionalOnClass} and
|
||||
* {@link ConditionalOnMissingBean @ConditionalOnMissingBean} annotations).
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @see ConditionalOnBean
|
||||
* @see ConditionalOnMissingBean
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.core.type.AnnotationMetadata;
|
||||
/**
|
||||
* {@link DeferredImportSelector} to handle {@link EnableAutoConfiguration
|
||||
* auto-configuration}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @see EnableAutoConfiguration
|
||||
*/
|
||||
|
||||
@@ -42,7 +42,7 @@ import static org.springframework.util.StringUtils.trimAllWhitespace;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for {@link MessageSource}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.core.annotation.Order;
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for
|
||||
* {@link PropertySourcesPlaceholderConfigurer}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Configuration properties for Rabbit.
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
* The configuration will not be activated if {@literal spring.aop.auto=false}. The
|
||||
* {@literal proxyTargetClass} attribute will be {@literal false}, by default, but can be
|
||||
* overridden by specifying {@literal spring.aop.proxyTargetClass=true}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Josh Long
|
||||
* @see EnableAspectJAutoProxy
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.springframework.transaction.PlatformTransactionManager;
|
||||
|
||||
/**
|
||||
* Basic {@link BatchConfigurer} implementation.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Component
|
||||
|
||||
@@ -53,7 +53,7 @@ import org.springframework.util.StringUtils;
|
||||
* with a comma-delimited list: {@literal spring.batch.job.names=job1,job2}. In this case
|
||||
* the Runner will first find jobs registered as Beans, then those in the existing
|
||||
* JobRegistry.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* Initialize the Spring Batch schema (ignoring errors, so should be idempotent).
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Component
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.springframework.context.ApplicationEvent;
|
||||
|
||||
/**
|
||||
* Spring {@link ApplicationEvent} encapsulating a {@link JobExecution}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.context.ApplicationListener;
|
||||
|
||||
/**
|
||||
* {@link ExitCodeGenerator} for {@link JobExecutionEvent}s.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public class JobExecutionExitCodeGenerator implements
|
||||
|
||||
@@ -58,7 +58,7 @@ import org.springframework.util.StringUtils;
|
||||
* {@link CommandLineRunner} to {@link JobLauncher launch} Spring Batch jobs. Runs all
|
||||
* jobs in the surrounding context by default. Can also be used to launch a specific job
|
||||
* by providing a jobName
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Component
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.util.ObjectUtils;
|
||||
|
||||
/**
|
||||
* Records condition evaluation details for reporting and logging.
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.springframework.util.ObjectUtils;
|
||||
|
||||
/**
|
||||
* Outcome for a condition match, including log message.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class ConditionOutcome {
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.context.annotation.Conditional;
|
||||
/**
|
||||
* {@link Conditional} that only matches when the specified bean classes and/or names are
|
||||
* already contained in the {@link BeanFactory}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that only matches when the specified classes are on the classpath.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.context.annotation.Conditional;
|
||||
/**
|
||||
* Configuration annotation for a conditional element that depends on the value of a SpEL
|
||||
* expression.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Conditional(OnExpressionCondition.class)
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.util.Assert;
|
||||
/**
|
||||
* {@link Conditional} that matches based on the JVM version the application is running
|
||||
* on.
|
||||
*
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
* @author Phillip Webb
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.context.annotation.Conditional;
|
||||
/**
|
||||
* {@link Conditional} that only matches when the specified bean classes and/or names are
|
||||
* not already contained in the {@link BeanFactory}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.context.annotation.Conditional;
|
||||
/**
|
||||
* {@link Conditional} that only matches when the specified classes are not on the
|
||||
* classpath.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.context.annotation.Conditional;
|
||||
/**
|
||||
* {@link Conditional} that only matches when the application context is a not a web
|
||||
* application context.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.core.env.Environment;
|
||||
/**
|
||||
* {@link Conditional} that only matches when the specified properties are defined in
|
||||
* {@link Environment} and not "false".
|
||||
*
|
||||
*
|
||||
* @author Maciej Walkowiak
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.context.annotation.Conditional;
|
||||
/**
|
||||
* {@link Conditional} that only matches when the specified resources are on the
|
||||
* classpath.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.context.annotation.Conditional;
|
||||
/**
|
||||
* {@link Conditional} that only matches when the application context is a web application
|
||||
* context.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
|
||||
@@ -49,7 +49,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* {@link Condition} that checks for the presence or absence of specific beans.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @author Jakub Kubrynski
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* {@link Condition} that checks for the presence or absence of specific classes.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @see ConditionalOnClass
|
||||
* @see ConditionalOnMissingClass
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.core.type.ClassMetadata;
|
||||
|
||||
/**
|
||||
* A Condition that evaluates a SpEL expression.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @see ConditionalOnExpression
|
||||
*/
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.core.type.AnnotatedTypeMetadata;
|
||||
|
||||
/**
|
||||
* {@link Condition} that checks for a required version of Java
|
||||
*
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
* @author Phillip Webb
|
||||
* @see ConditionalOnJava
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* {@link Condition} that checks if properties are defined in environment.
|
||||
*
|
||||
*
|
||||
* @author Maciej Walkowiak
|
||||
* @author Phillip Webb
|
||||
* @see ConditionalOnProperty
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.util.MultiValueMap;
|
||||
|
||||
/**
|
||||
* {@link Condition} that checks for specific resources.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @see ConditionalOnResource
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.web.context.support.StandardServletEnvironment;
|
||||
/**
|
||||
* {@link Condition} that checks for a the presence or absence of
|
||||
* {@link WebApplicationContext}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @see ConditionalOnWebApplication
|
||||
* @see ConditionalOnNotWebApplication
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.autoconfigure.condition;
|
||||
|
||||
/**
|
||||
* Some named search strategies for beans in the bean factory hierarchy.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public enum SearchStrategy {
|
||||
@@ -35,7 +35,7 @@ public enum SearchStrategy {
|
||||
|
||||
/**
|
||||
* Search the entire hierarchy
|
||||
*
|
||||
*
|
||||
*/
|
||||
ALL;
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* Base of all {@link Condition} implementations used with Spring Boot. Provides sensible
|
||||
* logging to help the user diagnose what classes are loaded.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Greg Turnquist
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
|
||||
/**
|
||||
* Base {@link ImportBeanDefinitionRegistrar} used to auto-configure Spring Data
|
||||
* Repositories.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @author Oliver Gierke
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.data.repository.core.support.RepositoryFactoryBeanSup
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Spring Data's Elasticsearch
|
||||
* Repositories.
|
||||
*
|
||||
*
|
||||
* @author Artur Konczak
|
||||
* @author Mohsin Husen
|
||||
* @see EnableElasticsearchRepositories
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
|
||||
/**
|
||||
* {@link ImportBeanDefinitionRegistrar} used to auto-configure Spring Data Elasticsearch
|
||||
* Repositories.
|
||||
*
|
||||
*
|
||||
* @author Artur Konczak
|
||||
* @author Mohsin Husen
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* {@link BeanFactoryPostProcessor} that can be used to dynamically declare that all
|
||||
* {@link EntityManagerFactory} beans should "depend on" a specific bean.
|
||||
*
|
||||
*
|
||||
* @author Marcel Overdijk
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -48,7 +48,7 @@ import org.springframework.data.web.config.EnableSpringDataWebSupport;
|
||||
* annotation.
|
||||
* <p>
|
||||
* This configuration class will activate <em>after</em> the Hibernate auto-configuration.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Josh Long
|
||||
* @see EnableJpaRepositories
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
|
||||
/**
|
||||
* {@link ImportBeanDefinitionRegistrar} used to auto-configure Spring Data JPA
|
||||
* Repositories.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -45,7 +45,7 @@ import com.mongodb.Mongo;
|
||||
* using the
|
||||
* {@link org.springframework.data.mongodb.repository.config.EnableMongoRepositories}
|
||||
* annotation.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Oliver Gierke
|
||||
* @author Josh Long
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
|
||||
/**
|
||||
* {@link ImportBeanDefinitionRegistrar} used to auto-configure Spring Data Mongo
|
||||
* Repositories.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
class MongoRepositoriesAutoConfigureRegistrar extends
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguratio
|
||||
* Once in effect, the auto-configuration is the equivalent of importing the
|
||||
* {@link RepositoryRestMvcConfiguration}.
|
||||
* </p>
|
||||
*
|
||||
*
|
||||
* @author Rob Winch
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.springframework.data.solr.repository.SolrRepository;
|
||||
* If active auto configuration does the same as
|
||||
* {@link org.springframework.data.solr.repository.config.EnableSolrRepositories} would
|
||||
* do.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.data.solr.repository.config.SolrRepositoryConfigExten
|
||||
/**
|
||||
* {@link ImportBeanDefinitionRegistrar} used to auto-configure Spring Data Solr
|
||||
* repositories.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* {@link org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
* Auto-configuration} for Elasticsearch.
|
||||
*
|
||||
*
|
||||
* @author Artur Konczak
|
||||
* @author Mohsin Husen
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.data.elasticsearch.repository.config.EnableElasticsea
|
||||
* <p>
|
||||
* Registers a {@link ElasticsearchTemplate} if no other bean of the same type is
|
||||
* configured.
|
||||
*
|
||||
*
|
||||
* @author Artur Konczak
|
||||
* @author Mohsin Husen
|
||||
* @see EnableElasticsearchRepositories
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Configuration properties for Elasticsearch.
|
||||
*
|
||||
*
|
||||
* @author Artur Konczak
|
||||
* @author Mohsin Husen
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -43,7 +43,7 @@ import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Flyway database migrations.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
|
||||
/**
|
||||
* Qualifier annotation for a DataSource to be injected in to Flyway. If used for a second
|
||||
* data source, the other (main) one would normally be marked as <code>@Primary</code>.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
* that Spring needs to validate and enable the migrations. If you want to control the
|
||||
* location or format of the scripts you can use the same prefix ("flyway") to inject
|
||||
* properties into the {@link Flyway} instance.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -44,7 +44,7 @@ import org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for FreeMarker.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring FreeMarker
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Andy Wilkinson
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.util.ClassUtils;
|
||||
/**
|
||||
* {@link TemplateAvailabilityProvider} that provides availability information for
|
||||
* FreeMarker view templates
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -52,7 +52,7 @@ import org.springframework.core.io.ResourceLoader;
|
||||
* Autoconfiguration support for Groovy templates in MVC. By default creates a
|
||||
* {@link MarkupTemplateEngine} configured from {@link GroovyTemplateProperties}, but you
|
||||
* can override that by providing a {@link TemplateEngine} of a different type.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.util.ClassUtils;
|
||||
/**
|
||||
* {@link TemplateAvailabilityProvider} that provides availability information for Groovy
|
||||
* view templates
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Groovy templates.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.context.i18n.LocaleContextHolder;
|
||||
* A custom {@link groovy.text.markup.TemplateResolver template resolver} which resolves
|
||||
* templates using the locale found in the thread locale. This resolver ignores the
|
||||
* template engine configuration locale.
|
||||
*
|
||||
*
|
||||
* @author Cédric Champeau
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.web.servlet.view.AbstractUrlBasedView;
|
||||
|
||||
/**
|
||||
* Spring MVC {@link View} that can render Groovy templates.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.web.servlet.view.UrlBasedViewResolver;
|
||||
|
||||
/**
|
||||
* Spring MVC {@link ViewResolver} for {@link GroovyTemplateView}s.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
* @see GroovyTemplateView
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Spring HATEOAS's
|
||||
* {@link EnableHypermediaSupport}.
|
||||
*
|
||||
*
|
||||
* @author Roy Clarkson
|
||||
* @author Oliver Gierke
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.integration.monitor.IntegrationMBeanExporter;
|
||||
/**
|
||||
* {@link org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
* Auto-configuration} for Spring Integration.
|
||||
*
|
||||
*
|
||||
* @author Artem Bilan
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -49,7 +49,7 @@ import com.fasterxml.jackson.datatype.jsr310.JSR310Module;
|
||||
* <li>auto-registration for all {@link Module} beans with all {@link ObjectMapper} beans
|
||||
* (including the defaulted ones).</li>
|
||||
* </ul>
|
||||
*
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -46,7 +46,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for {@link DataSource}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.util.ClassUtils;
|
||||
* the classpath, only a small set of common configuration properties are supported. To
|
||||
* inject additional properties into the result you can downcast it, or use
|
||||
* <code>@ConfigurationProperties</code>.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.context.ApplicationEvent;
|
||||
* {@link ApplicationEvent} used internally to trigger {@link DataSource} initialization.
|
||||
* Initialization can occur when {@literal schema-*.sql} files are executed or when
|
||||
* external libraries (e.g. JPA) initialize the database.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @see DataSourceInitializer
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.springframework.util.StringUtils;
|
||||
* Bean to handle {@link DataSource} initialization by running {@literal schema-*.sql} on
|
||||
* {@link PostConstruct} and and {@literal data-*.sql} SQL scripts on a
|
||||
* {@link DataSourceInitializedEvent}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.core.type.AnnotationMetadata;
|
||||
/**
|
||||
* {@link BeanPostProcessor} used to fire {@link DataSourceInitializedEvent}s. Should only
|
||||
* be registered via the inner {@link Registrar} class.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.2
|
||||
*/
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Base class for configuration of a database pool.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Maciej Walkowiak
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for
|
||||
* {@link DataSourceTransactionManager}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* Provides JDBC driver class name for given JDBC URL.
|
||||
*
|
||||
*
|
||||
* @author Maciej Walkowiak
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder;
|
||||
|
||||
/**
|
||||
* Configuration for embedded data sources.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @see DataSourceAutoConfiguration
|
||||
*/
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.util.ClassUtils;
|
||||
|
||||
/**
|
||||
* Connection details for {@link EmbeddedDatabaseType embedded databases}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @see #get(ClassLoader)
|
||||
@@ -100,7 +100,7 @@ public enum EmbeddedDatabaseConnection {
|
||||
/**
|
||||
* Convenience method to determine if a given driver class name represents an embedded
|
||||
* database type.
|
||||
*
|
||||
*
|
||||
* @param driverClass the driver class
|
||||
* @return true if the driver class is one of the embedded types
|
||||
*/
|
||||
@@ -114,7 +114,7 @@ public enum EmbeddedDatabaseConnection {
|
||||
/**
|
||||
* Convenience method to determine if a given data source represents an embedded
|
||||
* database type.
|
||||
*
|
||||
*
|
||||
* @param dataSource the data source to interrogate
|
||||
* @return true if the data sourceis one of the embedded types
|
||||
*/
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.jms.core.JmsTemplate;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Spring JMS.
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Configuration properties for JMS.
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.springframework.core.type.AnnotatedTypeMetadata;
|
||||
* {@link EnableAutoConfiguration Auto-configuration} to integrate with an ActiveMQ
|
||||
* broker. Validates that the classpath contain the necessary classes before starting an
|
||||
* embedded broker.
|
||||
*
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* Creates a {@link ConnectionFactory} based on {@link ActiveMQProperties}.
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
* @author Stephane Nicoll
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Configuration properties for ActiveMQ
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
|
||||
@@ -56,7 +56,7 @@ import org.springframework.util.ClassUtils;
|
||||
* Auto-configuration} to integrate with an HornetQ broker. If the necessary classes are
|
||||
* present, embed the broker in the application by default. Otherwise, connect to a broker
|
||||
* available on the local machine with the default settings.
|
||||
*
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 1.1.0
|
||||
* @see HornetQProperties
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.hornetq.jms.server.embedded.EmbeddedJMS;
|
||||
* Callback interface that can be implemented by beans wishing to customize the HornetQ
|
||||
* JMS server {@link Configuration} before it is used by an auto-configured
|
||||
* {@link EmbeddedJMS} instance.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @since 1.1.0
|
||||
* @see HornetQAutoConfiguration
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.boot.autoconfigure.jms.hornetq.HornetQProperties.Embe
|
||||
|
||||
/**
|
||||
* Factory class to create a HornetQ {@link Configuration} from {@link HornetQProperties}.
|
||||
*
|
||||
*
|
||||
* @author Stephane Nicol
|
||||
* @author Phillip Webb
|
||||
* @since 1.1.0
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.autoconfigure.jms.hornetq;
|
||||
|
||||
/**
|
||||
* Define the mode in which HornetQ can operate.
|
||||
*
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.hornetq.spi.core.naming.BindingRegistry;
|
||||
|
||||
/**
|
||||
* A no-op implementation of the {@link org.hornetq.spi.core.naming.BindingRegistry}.
|
||||
*
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Configuration properties for HornetQ
|
||||
*
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -48,7 +48,7 @@ import org.springframework.util.ClassUtils;
|
||||
* {@link EnableMBeanExport} mechanism based on configuration properties.
|
||||
* <p>
|
||||
* To disable auto export of annotation beans set <code>spring.jmx.enabled: false</code>.
|
||||
*
|
||||
*
|
||||
* @author Christian Dupuis
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
@@ -44,7 +44,7 @@ import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Liquibase.
|
||||
*
|
||||
*
|
||||
* @author Marcel Overdijk
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Configuration properties to configure {@link SpringLiquibase}.
|
||||
*
|
||||
*
|
||||
* @author Marcel Overdijk
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -48,7 +48,7 @@ import org.springframework.util.StringUtils;
|
||||
* <p>
|
||||
* This initializer is not intended to be shared across multiple application context
|
||||
* instances.
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -44,7 +44,7 @@ import org.thymeleaf.spring4.view.ThymeleafViewResolver;
|
||||
* {@link LiteDeviceDelegatingViewResolver}. If {@link ThymeleafViewResolver} is available
|
||||
* it is configured as the delegate view resolver. Otherwise,
|
||||
* {@link InternalResourceViewResolver} is used as a fallback.
|
||||
*
|
||||
*
|
||||
* @author Roy Clarkson
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Spring Mobile's
|
||||
* {@link DeviceResolver}.
|
||||
*
|
||||
*
|
||||
* @author Roy Clarkson
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
@@ -39,7 +39,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Spring Mobile's
|
||||
* {@link SitePreferenceHandler}. The site preference feature depends on a
|
||||
* {@link DeviceResolver} first being registered.
|
||||
*
|
||||
*
|
||||
* @author Roy Clarkson
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -33,7 +33,7 @@ import com.mongodb.MongoClientOptions;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Mongo.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Oliver Gierke
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -42,7 +42,7 @@ import com.mongodb.Mongo;
|
||||
* <P>
|
||||
* Honors the {@literal spring.data.mongodb.database} property if set, otherwise connects
|
||||
* to the {@literal test} database.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Oliver Gierke
|
||||
* @author Josh Long
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.mongodb.ServerAddress;
|
||||
|
||||
/**
|
||||
* Configuration properties for Mongo.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
* @author Josh Long
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.core.type.AnnotationMetadata;
|
||||
/**
|
||||
* {@link BeanPostProcessor} used to fire {@link DataSourceInitializedEvent}s. Should only
|
||||
* be registered via the inner {@link Registrar} class.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.util.ClassUtils;
|
||||
* most common options are covered in the builder, but you can always manipulate the
|
||||
* product of the builder if you need more control, before returning it from a
|
||||
* <code>@Bean</code> definition.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -42,7 +42,7 @@ import org.springframework.util.ClassUtils;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Hibernate JPA.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
@Configuration
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user