Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
4a58171b
Commit
4a58171b
authored
Feb 12, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few more package tweaks
Improve package structure and include package-info javadoc.
parent
69e7fb4c
Changes
56
Hide whitespace changes
Inline
Side-by-side
Showing
56 changed files
with
483 additions
and
52 deletions
+483
-52
AutoConfigurationReportLoggingInitializer.java
...re/logging/AutoConfigurationReportLoggingInitializer.java
+1
-1
package-info.java
.../org/springframework/boot/autoconfigure/package-info.java
+23
-0
DispatcherServletAutoConfiguration.java
...autoconfigure/web/DispatcherServletAutoConfiguration.java
+1
-1
AutoConfigurationReportLoggingInitializerTests.java
...gging/AutoConfigurationReportLoggingInitializerTests.java
+1
-1
SecurityAutoConfigurationTests.java
...utoconfigure/security/SecurityAutoConfigurationTests.java
+1
-1
SampleServletApplication.java
...rc/main/java/sample/servlet/SampleServletApplication.java
+1
-1
SampleWebJspApplication.java
...jsp/src/main/java/sample/jsp/SampleWebJspApplication.java
+1
-1
SampleWebStaticApplication.java
...c/src/main/java/sample/ui/SampleWebStaticApplication.java
+1
-1
SampleWebSocketsApplication.java
...samples/websocket/config/SampleWebSocketsApplication.java
+1
-1
package-info.java
...main/java/org/springframework/boot/ansi/package-info.java
+23
-0
package-info.java
...main/java/org/springframework/boot/bind/package-info.java
+24
-0
ParentContextApplicationContextInitializer.java
...t/builder/ParentContextApplicationContextInitializer.java
+1
-1
ParentContextCloserApplicationListener.java
.../boot/builder/ParentContextCloserApplicationListener.java
+2
-2
SpringApplicationBuilder.java
...pringframework/boot/builder/SpringApplicationBuilder.java
+0
-2
package-info.java
...n/java/org/springframework/boot/builder/package-info.java
+23
-0
VcapApplicationListener.java
...gframework/boot/cloudfoundry/VcapApplicationListener.java
+2
-2
package-info.java
...a/org/springframework/boot/cloudfoundry/package-info.java
+21
-0
FileEncodingApplicationListener.java
...amework/boot/context/FileEncodingApplicationListener.java
+2
-2
ConfigFileApplicationListener.java
...rk/boot/context/config/ConfigFileApplicationListener.java
+3
-3
EnvironmentDelegateApplicationContextInitializer.java
...fig/EnvironmentDelegateApplicationContextInitializer.java
+1
-1
EnvironmentDelegateApplicationListener.java
...ontext/config/EnvironmentDelegateApplicationListener.java
+2
-2
RandomValuePropertySource.java
...mework/boot/context/config/RandomValuePropertySource.java
+1
-1
package-info.java
...org/springframework/boot/context/config/package-info.java
+24
-0
package-info.java
...ngframework/boot/context/embedded/jetty/package-info.java
+2
-0
package-info.java
...g/springframework/boot/context/embedded/package-info.java
+1
-0
package-info.java
...gframework/boot/context/embedded/tomcat/package-info.java
+2
-0
ApplicationEnvironmentPreparedEvent.java
...ot/context/event/ApplicationEnvironmentPreparedEvent.java
+1
-1
ApplicationFailedEvent.java
...gframework/boot/context/event/ApplicationFailedEvent.java
+1
-1
ApplicationPreparedEvent.java
...ramework/boot/context/event/ApplicationPreparedEvent.java
+1
-1
ApplicationStartedEvent.java
...framework/boot/context/event/ApplicationStartedEvent.java
+1
-1
EventPublishingRunParticipant.java
...ork/boot/context/event/EventPublishingRunParticipant.java
+1
-1
SpringApplicationEvent.java
...gframework/boot/context/event/SpringApplicationEvent.java
+1
-1
package-info.java
...n/java/org/springframework/boot/context/package-info.java
+21
-0
package-info.java
...springframework/boot/context/properties/package-info.java
+24
-0
SpringBootServletInitializer.java
...mework/boot/context/web/SpringBootServletInitializer.java
+2
-3
package-info.java
...va/org/springframework/boot/context/web/package-info.java
+22
-0
package-info.java
.../main/java/org/springframework/boot/env/package-info.java
+21
-0
package-info.java
...main/java/org/springframework/boot/json/package-info.java
+23
-0
LiquibaseServiceLocatorApplicationListener.java
...liquibase/LiquibaseServiceLocatorApplicationListener.java
+1
-1
package-info.java
...java/org/springframework/boot/liquibase/package-info.java
+23
-0
ClasspathLoggingApplicationListener.java
...ork/boot/logging/ClasspathLoggingApplicationListener.java
+2
-2
LoggingApplicationListener.java
...ingframework/boot/logging/LoggingApplicationListener.java
+2
-2
package-info.java
...a/org/springframework/boot/logging/java/package-info.java
+21
-0
package-info.java
.../org/springframework/boot/logging/log4j/package-info.java
+21
-0
package-info.java
...rg/springframework/boot/logging/logback/package-info.java
+21
-0
package-info.java
...n/java/org/springframework/boot/logging/package-info.java
+23
-0
package-info.java
...n/java/org/springframework/boot/orm/jpa/package-info.java
+21
-0
package-info.java
.../src/main/java/org/springframework/boot/package-info.java
+23
-0
package-info.java
...main/java/org/springframework/boot/yaml/package-info.java
+24
-0
spring.factories
spring-boot/src/main/resources/META-INF/spring.factories
+5
-5
VcapApplicationListenerTests.java
...ework/boot/cloudfoundry/VcapApplicationListenerTests.java
+1
-1
FileEncodingApplicationListenerTests.java
...rk/boot/context/FileEncodingApplicationListenerTests.java
+1
-1
ConfigFileApplicationListenerTests.java
...ot/context/config/ConfigFileApplicationListenerTests.java
+4
-3
EnvironmentDelegateApplicationContextInitializerTests.java
...nvironmentDelegateApplicationContextInitializerTests.java
+2
-1
EnvironmentDelegateApplicationListenerTests.java
...t/config/EnvironmentDelegateApplicationListenerTests.java
+3
-2
LoggingApplicationListenerTests.java
...amework/boot/logging/LoggingApplicationListenerTests.java
+1
-1
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/logging/AutoConfigurationReportLoggingInitializer.java
View file @
4a58171b
...
@@ -23,7 +23,7 @@ import org.apache.commons.logging.LogFactory;
...
@@ -23,7 +23,7 @@ import org.apache.commons.logging.LogFactory;
import
org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport
;
import
org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport
;
import
org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport.ConditionAndOutcome
;
import
org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport.ConditionAndOutcome
;
import
org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport.ConditionAndOutcomes
;
import
org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport.ConditionAndOutcomes
;
import
org.springframework.boot.event.ApplicationFailedEvent
;
import
org.springframework.boot.
context.
event.ApplicationFailedEvent
;
import
org.springframework.boot.logging.LogLevel
;
import
org.springframework.boot.logging.LogLevel
;
import
org.springframework.context.ApplicationContextInitializer
;
import
org.springframework.context.ApplicationContextInitializer
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.ApplicationEvent
;
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Spring Boot's auto-configuration capabilities.
*
* @see org.springframework.boot.autoconfigure.EnableAutoConfiguration
*/
package
org
.
springframework
.
boot
.
autoconfigure
;
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/DispatcherServletAutoConfiguration.java
View file @
4a58171b
...
@@ -28,7 +28,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
...
@@ -28,7 +28,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication
;
import
org.springframework.boot.autoconfigure.condition.SpringBootCondition
;
import
org.springframework.boot.autoconfigure.condition.SpringBootCondition
;
import
org.springframework.boot.context.embedded.EmbeddedServletContainerFactory
;
import
org.springframework.boot.context.embedded.EmbeddedServletContainerFactory
;
import
org.springframework.boot.web.SpringBootServletInitializer
;
import
org.springframework.boot.
context.
web.SpringBootServletInitializer
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.ConditionContext
;
import
org.springframework.context.annotation.ConditionContext
;
import
org.springframework.context.annotation.Conditional
;
import
org.springframework.context.annotation.Conditional
;
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/logging/AutoConfigurationReportLoggingInitializerTests.java
View file @
4a58171b
...
@@ -34,7 +34,7 @@ import org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfigurati
...
@@ -34,7 +34,7 @@ import org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfigurati
import
org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport
;
import
org.springframework.boot.autoconfigure.condition.ConditionEvaluationReport
;
import
org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration
;
import
org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration
;
import
org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration
;
import
org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration
;
import
org.springframework.boot.event.ApplicationFailedEvent
;
import
org.springframework.boot.
context.
event.ApplicationFailedEvent
;
import
org.springframework.context.annotation.AnnotationConfigApplicationContext
;
import
org.springframework.context.annotation.AnnotationConfigApplicationContext
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/SecurityAutoConfigurationTests.java
View file @
4a58171b
...
@@ -24,7 +24,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
...
@@ -24,7 +24,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import
org.springframework.boot.autoconfigure.logging.AutoConfigurationReportLoggingInitializer
;
import
org.springframework.boot.autoconfigure.logging.AutoConfigurationReportLoggingInitializer
;
import
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
;
import
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
;
import
org.springframework.boot.autoconfigure.orm.jpa.test.City
;
import
org.springframework.boot.autoconfigure.orm.jpa.test.City
;
import
org.springframework.boot.event.ApplicationPreparedEvent
;
import
org.springframework.boot.
context.
event.ApplicationPreparedEvent
;
import
org.springframework.boot.logging.LoggingApplicationListener
;
import
org.springframework.boot.logging.LoggingApplicationListener
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
...
...
spring-boot-samples/spring-boot-sample-servlet/src/main/java/sample/servlet/SampleServletApplication.java
View file @
4a58171b
...
@@ -27,7 +27,7 @@ import javax.servlet.ServletResponse;
...
@@ -27,7 +27,7 @@ import javax.servlet.ServletResponse;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.web.SpringBootServletInitializer
;
import
org.springframework.boot.
context.
web.SpringBootServletInitializer
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
...
...
spring-boot-samples/spring-boot-sample-web-jsp/src/main/java/sample/jsp/SampleWebJspApplication.java
View file @
4a58171b
...
@@ -19,7 +19,7 @@ package sample.jsp;
...
@@ -19,7 +19,7 @@ package sample.jsp;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.web.SpringBootServletInitializer
;
import
org.springframework.boot.
context.
web.SpringBootServletInitializer
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
...
...
spring-boot-samples/spring-boot-sample-web-static/src/main/java/sample/ui/SampleWebStaticApplication.java
View file @
4a58171b
...
@@ -19,7 +19,7 @@ package sample.ui;
...
@@ -19,7 +19,7 @@ package sample.ui;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.web.SpringBootServletInitializer
;
import
org.springframework.boot.
context.
web.SpringBootServletInitializer
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
@Configuration
@Configuration
...
...
spring-boot-samples/spring-boot-sample-websocket/src/main/java/samples/websocket/config/SampleWebSocketsApplication.java
View file @
4a58171b
...
@@ -19,7 +19,7 @@ package samples.websocket.config;
...
@@ -19,7 +19,7 @@ package samples.websocket.config;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.web.SpringBootServletInitializer
;
import
org.springframework.boot.
context.
web.SpringBootServletInitializer
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.web.socket.WebSocketHandler
;
import
org.springframework.web.socket.WebSocketHandler
;
...
...
spring-boot/src/main/java/org/springframework/boot/ansi/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Support classes to provide ANSI color output.
*
* @see org.springframework.boot.ansi.AnsiOutput
*/
package
org
.
springframework
.
boot
.
ansi
;
spring-boot/src/main/java/org/springframework/boot/bind/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Classes and utilities to help when binding spring based configuration files to objects.
*
* @see org.springframework.boot.bind.RelaxedDataBinder
* @see org.springframework.boot.bind.YamlConfigurationFactory
*/
package
org
.
springframework
.
boot
.
bind
;
spring-boot/src/main/java/org/springframework/boot/
context
/ParentContextApplicationContextInitializer.java
→
spring-boot/src/main/java/org/springframework/boot/
builder
/ParentContextApplicationContextInitializer.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
context
;
package
org
.
springframework
.
boot
.
builder
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.context.ApplicationContextInitializer
;
import
org.springframework.context.ApplicationContextInitializer
;
...
...
spring-boot/src/main/java/org/springframework/boot/
context
/ParentContextCloserApplicationListener.java
→
spring-boot/src/main/java/org/springframework/boot/
builder
/ParentContextCloserApplicationListener.java
View file @
4a58171b
...
@@ -14,9 +14,9 @@
...
@@ -14,9 +14,9 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
context
;
package
org
.
springframework
.
boot
.
builder
;
import
org.springframework.boot.
context
.ParentContextApplicationContextInitializer.ParentContextAvailableEvent
;
import
org.springframework.boot.
builder
.ParentContextApplicationContextInitializer.ParentContextAvailableEvent
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.event.ContextClosedEvent
;
import
org.springframework.context.event.ContextClosedEvent
;
...
...
spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java
View file @
4a58171b
...
@@ -29,7 +29,6 @@ import java.util.concurrent.atomic.AtomicBoolean;
...
@@ -29,7 +29,6 @@ import java.util.concurrent.atomic.AtomicBoolean;
import
org.springframework.beans.factory.support.BeanNameGenerator
;
import
org.springframework.beans.factory.support.BeanNameGenerator
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.context.ParentContextApplicationContextInitializer
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.context.ApplicationContextInitializer
;
import
org.springframework.context.ApplicationContextInitializer
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
...
@@ -205,7 +204,6 @@ public class SpringApplicationBuilder {
...
@@ -205,7 +204,6 @@ public class SpringApplicationBuilder {
this
.
parent
.
context
=
parent
;
this
.
parent
.
context
=
parent
;
this
.
parent
.
running
.
set
(
true
);
this
.
parent
.
running
.
set
(
true
);
initializers
(
new
ParentContextApplicationContextInitializer
(
parent
));
initializers
(
new
ParentContextApplicationContextInitializer
(
parent
));
return
this
;
return
this
;
}
}
...
...
spring-boot/src/main/java/org/springframework/boot/builder/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Fluent 'builder' style API to construct a {@link org.springframework.boot.SpringApplication}.
*
* @see org.springframework.boot.builder.SpringApplicationBuilder
*/
package
org
.
springframework
.
boot
.
builder
;
spring-boot/src/main/java/org/springframework/boot/cloudfoundry/VcapApplicationListener.java
View file @
4a58171b
...
@@ -26,8 +26,8 @@ import java.util.Properties;
...
@@ -26,8 +26,8 @@ import java.util.Properties;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.boot.config.ConfigFileApplicationListener
;
import
org.springframework.boot.con
text.con
fig.ConfigFileApplicationListener
;
import
org.springframework.boot.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.
context.
event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.json.JsonParser
;
import
org.springframework.boot.json.JsonParser
;
import
org.springframework.boot.json.JsonParserFactory
;
import
org.springframework.boot.json.JsonParserFactory
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
...
...
spring-boot/src/main/java/org/springframework/boot/cloudfoundry/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Support for Cloud Foundry PAAS based deployment.
*/
package
org
.
springframework
.
boot
.
cloudfoundry
;
spring-boot/src/main/java/org/springframework/boot/context/FileEncodingApplicationListener.java
View file @
4a58171b
...
@@ -19,12 +19,12 @@ package org.springframework.boot.context;
...
@@ -19,12 +19,12 @@ package org.springframework.boot.context;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.boot.bind.RelaxedPropertyResolver
;
import
org.springframework.boot.bind.RelaxedPropertyResolver
;
import
org.springframework.boot.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.
context.
event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.core.Ordered
;
import
org.springframework.core.Ordered
;
/**
/**
* An {@link ApplicationListener}that halts application startup if the system file
* An {@link ApplicationListener}
that halts application startup if the system file
* encoding does not match an expected value set in the environment. By default has no
* encoding does not match an expected value set in the environment. By default has no
* effect, but if you set <code>spring.mandatory_file_encoding</code> (or some camelCase
* effect, but if you set <code>spring.mandatory_file_encoding</code> (or some camelCase
* or UPPERCASE variant of that) to the name of a character encoding (e.g. "UTF-8") then
* or UPPERCASE variant of that) to the name of a character encoding (e.g. "UTF-8") then
...
...
spring-boot/src/main/java/org/springframework/boot/config/ConfigFileApplicationListener.java
→
spring-boot/src/main/java/org/springframework/boot/con
text/con
fig/ConfigFileApplicationListener.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
config
;
package
org
.
springframework
.
boot
.
con
text
.
con
fig
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
...
@@ -33,9 +33,9 @@ import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
...
@@ -33,9 +33,9 @@ import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.bind.PropertySourcesPropertyValues
;
import
org.springframework.boot.bind.PropertySourcesPropertyValues
;
import
org.springframework.boot.bind.RelaxedDataBinder
;
import
org.springframework.boot.bind.RelaxedDataBinder
;
import
org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.context.event.ApplicationPreparedEvent
;
import
org.springframework.boot.env.PropertySourcesLoader
;
import
org.springframework.boot.env.PropertySourcesLoader
;
import
org.springframework.boot.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.event.ApplicationPreparedEvent
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.ConfigurableApplicationContext
;
...
...
spring-boot/src/main/java/org/springframework/boot/context/
env
/EnvironmentDelegateApplicationContextInitializer.java
→
spring-boot/src/main/java/org/springframework/boot/context/
config
/EnvironmentDelegateApplicationContextInitializer.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
context
.
env
;
package
org
.
springframework
.
boot
.
context
.
config
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Collections
;
import
java.util.Collections
;
...
...
spring-boot/src/main/java/org/springframework/boot/context/
env
/EnvironmentDelegateApplicationListener.java
→
spring-boot/src/main/java/org/springframework/boot/context/
config
/EnvironmentDelegateApplicationListener.java
View file @
4a58171b
...
@@ -14,13 +14,13 @@
...
@@ -14,13 +14,13 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
context
.
env
;
package
org
.
springframework
.
boot
.
context
.
config
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.boot.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.
context.
event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.context.ApplicationContextException
;
import
org.springframework.context.ApplicationContextException
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
...
...
spring-boot/src/main/java/org/springframework/boot/config/RandomValuePropertySource.java
→
spring-boot/src/main/java/org/springframework/boot/con
text/con
fig/RandomValuePropertySource.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
config
;
package
org
.
springframework
.
boot
.
con
text
.
con
fig
;
import
java.util.Random
;
import
java.util.Random
;
...
...
spring-boot/src/main/java/org/springframework/boot/context/config/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* External configuration support allowing 'application.properties' to be loaded
* and used within a Spring Boot application.
*
* @see org.springframework.boot.context.config.ConfigFileApplicationListener
*/
package
org
.
springframework
.
boot
.
context
.
config
;
spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/package-info.java
View file @
4a58171b
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
/**
/**
* Support for Jetty {@link org.springframework.boot.context.embedded.EmbeddedServletContainer EmbeddedServletContainers}.
* Support for Jetty {@link org.springframework.boot.context.embedded.EmbeddedServletContainer EmbeddedServletContainers}.
*
* @see org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory
*/
*/
package
org
.
springframework
.
boot
.
context
.
embedded
.
jetty
;
package
org
.
springframework
.
boot
.
context
.
embedded
.
jetty
;
spring-boot/src/main/java/org/springframework/boot/context/embedded/package-info.java
View file @
4a58171b
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
/**
/**
* Support for embedded servlet containers.
* Support for embedded servlet containers.
*
* @see org.springframework.boot.context.embedded.EmbeddedServletContainerFactory
* @see org.springframework.boot.context.embedded.EmbeddedServletContainerFactory
* @see org.springframework.boot.context.embedded.EmbeddedWebApplicationContext
* @see org.springframework.boot.context.embedded.EmbeddedWebApplicationContext
*/
*/
...
...
spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/package-info.java
View file @
4a58171b
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
/**
/**
* Support for Tomcat {@link org.springframework.boot.context.embedded.EmbeddedServletContainer EmbeddedServletContainers}.
* Support for Tomcat {@link org.springframework.boot.context.embedded.EmbeddedServletContainer EmbeddedServletContainers}.
*
* @see org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory
*/
*/
package
org
.
springframework
.
boot
.
context
.
embedded
.
tomcat
;
package
org
.
springframework
.
boot
.
context
.
embedded
.
tomcat
;
spring-boot/src/main/java/org/springframework/boot/event/ApplicationEnvironmentPreparedEvent.java
→
spring-boot/src/main/java/org/springframework/boot/
context/
event/ApplicationEnvironmentPreparedEvent.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
event
;
package
org
.
springframework
.
boot
.
context
.
event
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.core.env.ConfigurableEnvironment
;
import
org.springframework.core.env.ConfigurableEnvironment
;
...
...
spring-boot/src/main/java/org/springframework/boot/event/ApplicationFailedEvent.java
→
spring-boot/src/main/java/org/springframework/boot/
context/
event/ApplicationFailedEvent.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
event
;
package
org
.
springframework
.
boot
.
context
.
event
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.ConfigurableApplicationContext
;
...
...
spring-boot/src/main/java/org/springframework/boot/event/ApplicationPreparedEvent.java
→
spring-boot/src/main/java/org/springframework/boot/
context/
event/ApplicationPreparedEvent.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
event
;
package
org
.
springframework
.
boot
.
context
.
event
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.context.ApplicationContext
;
...
...
spring-boot/src/main/java/org/springframework/boot/event/ApplicationStartedEvent.java
→
spring-boot/src/main/java/org/springframework/boot/
context/
event/ApplicationStartedEvent.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
event
;
package
org
.
springframework
.
boot
.
context
.
event
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.context.ApplicationContext
;
...
...
spring-boot/src/main/java/org/springframework/boot/event/EventPublishingRunParticipant.java
→
spring-boot/src/main/java/org/springframework/boot/
context/
event/EventPublishingRunParticipant.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
event
;
package
org
.
springframework
.
boot
.
context
.
event
;
import
org.springframework.beans.factory.BeanFactoryAware
;
import
org.springframework.beans.factory.BeanFactoryAware
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
...
...
spring-boot/src/main/java/org/springframework/boot/event/SpringApplicationEvent.java
→
spring-boot/src/main/java/org/springframework/boot/
context/
event/SpringApplicationEvent.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
event
;
package
org
.
springframework
.
boot
.
context
.
event
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.ApplicationEvent
;
...
...
spring-boot/src/main/java/org/springframework/boot/context/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Classes related to Spring's {@link org.springframework.context.ApplicationContext}.
*/
package
org
.
springframework
.
boot
.
context
;
spring-boot/src/main/java/org/springframework/boot/context/properties/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Support for external configuration binding via the {@code @ConfigurationProperties} annotation.
*
* @see org.springframework.boot.context.properties.ConfigurationProperties
* @see org.springframework.boot.context.properties.EnableConfigurationProperties
*/
package
org
.
springframework
.
boot
.
context
.
properties
;
spring-boot/src/main/java/org/springframework/boot/web/SpringBootServletInitializer.java
→
spring-boot/src/main/java/org/springframework/boot/
context/
web/SpringBootServletInitializer.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
web
;
package
org
.
springframework
.
boot
.
context
.
web
;
import
javax.servlet.ServletContext
;
import
javax.servlet.ServletContext
;
import
javax.servlet.ServletContextEvent
;
import
javax.servlet.ServletContextEvent
;
...
@@ -22,10 +22,9 @@ import javax.servlet.ServletException;
...
@@ -22,10 +22,9 @@ import javax.servlet.ServletException;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.boot.builder.ParentContextApplicationContextInitializer
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.context.ParentContextApplicationContextInitializer
;
import
org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext
;
import
org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext
;
import
org.springframework.boot.context.web.ServletContextApplicationContextInitializer
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.web.WebApplicationInitializer
;
import
org.springframework.web.WebApplicationInitializer
;
import
org.springframework.web.context.ContextLoaderListener
;
import
org.springframework.web.context.ContextLoaderListener
;
...
...
spring-boot/src/main/java/org/springframework/boot/context/web/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Spring {@link org.springframework.context.ApplicationContext} support relating to web
* deployment.
*/
package
org
.
springframework
.
boot
.
context
.
web
;
spring-boot/src/main/java/org/springframework/boot/env/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Spring {@link org.springframework.core.env.Environment} support.
*/
package
org
.
springframework
.
boot
.
env
;
spring-boot/src/main/java/org/springframework/boot/json/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Support for parsing JSON.
*
* @see org.springframework.boot.json.JsonParser
*/
package
org
.
springframework
.
boot
.
json
;
spring-boot/src/main/java/org/springframework/boot/liquibase/LiquibaseServiceLocatorApplicationListener.java
View file @
4a58171b
...
@@ -5,7 +5,7 @@ import liquibase.servicelocator.ServiceLocator;
...
@@ -5,7 +5,7 @@ import liquibase.servicelocator.ServiceLocator;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.boot.event.ApplicationStartedEvent
;
import
org.springframework.boot.
context.
event.ApplicationStartedEvent
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.util.ClassUtils
;
import
org.springframework.util.ClassUtils
;
...
...
spring-boot/src/main/java/org/springframework/boot/liquibase/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Custom support for Liquibase database migration.
*
* @see org.springframework.boot.liquibase.LiquibaseServiceLocatorApplicationListener
*/
package
org
.
springframework
.
boot
.
liquibase
;
spring-boot/src/main/java/org/springframework/boot/logging/ClasspathLoggingApplicationListener.java
View file @
4a58171b
...
@@ -21,8 +21,8 @@ import java.util.Arrays;
...
@@ -21,8 +21,8 @@ import java.util.Arrays;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.boot.event.ApplicationFailedEvent
;
import
org.springframework.boot.
context.
event.ApplicationFailedEvent
;
import
org.springframework.boot.event.ApplicationStartedEvent
;
import
org.springframework.boot.
context.
event.ApplicationStartedEvent
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.event.SmartApplicationListener
;
import
org.springframework.context.event.SmartApplicationListener
;
import
org.springframework.core.Ordered
;
import
org.springframework.core.Ordered
;
...
...
spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java
View file @
4a58171b
...
@@ -24,8 +24,8 @@ import java.util.Map;
...
@@ -24,8 +24,8 @@ import java.util.Map;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.
context.
event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.event.ApplicationStartedEvent
;
import
org.springframework.boot.
context.
event.ApplicationStartedEvent
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.ApplicationEvent
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.event.SmartApplicationListener
;
import
org.springframework.context.event.SmartApplicationListener
;
...
...
spring-boot/src/main/java/org/springframework/boot/logging/java/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Support for 'Java Util Logging'.
*/
package
org
.
springframework
.
boot
.
logging
.
java
;
spring-boot/src/main/java/org/springframework/boot/logging/log4j/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Support for the Log4J logging library.
*/
package
org
.
springframework
.
boot
.
logging
.
log4j
;
spring-boot/src/main/java/org/springframework/boot/logging/logback/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Support for the Logback logging library.
*/
package
org
.
springframework
.
boot
.
logging
.
logback
;
spring-boot/src/main/java/org/springframework/boot/logging/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Support and abstractions across several logging libraries.
*
* @see org.springframework.boot.logging.LoggingSystem
*/
package
org
.
springframework
.
boot
.
logging
;
spring-boot/src/main/java/org/springframework/boot/orm/jpa/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* JPA Support classes.
*/
package
org
.
springframework
.
boot
.
orm
.
jpa
;
spring-boot/src/main/java/org/springframework/boot/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Core Spring Boot classes.
*
* @see org.springframework.boot.SpringApplication
*/
package
org
.
springframework
.
boot
;
spring-boot/src/main/java/org/springframework/boot/yaml/package-info.java
0 → 100644
View file @
4a58171b
/*
* Copyright 2012-2014 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Support for parsing YAML.
*
* @see org.springframework.boot.yaml.YamlPropertiesFactoryBean
* @see org.springframework.boot.yaml.YamlMapFactoryBean
*/
package
org
.
springframework
.
boot
.
yaml
;
spring-boot/src/main/resources/META-INF/spring.factories
View file @
4a58171b
...
@@ -5,20 +5,20 @@ org.springframework.boot.env.YamlPropertySourceLoader
...
@@ -5,20 +5,20 @@ org.springframework.boot.env.YamlPropertySourceLoader
# Run Participants
# Run Participants
org.springframework.boot.SpringApplicationRunParticipant=\
org.springframework.boot.SpringApplicationRunParticipant=\
org.springframework.boot.event.EventPublishingRunParticipant
org.springframework.boot.
context.
event.EventPublishingRunParticipant
# Application Context Initializers
# Application Context Initializers
org.springframework.context.ApplicationContextInitializer=\
org.springframework.context.ApplicationContextInitializer=\
org.springframework.boot.context.ContextIdApplicationContextInitializer,\
org.springframework.boot.context.ContextIdApplicationContextInitializer,\
org.springframework.boot.context.
env
.EnvironmentDelegateApplicationContextInitializer
org.springframework.boot.context.
config
.EnvironmentDelegateApplicationContextInitializer
# Application Listeners
# Application Listeners
org.springframework.context.ApplicationListener=\
org.springframework.context.ApplicationListener=\
org.springframework.boot.builder.ParentContextCloserApplicationListener,\
org.springframework.boot.cloudfoundry.VcapApplicationListener,\
org.springframework.boot.cloudfoundry.VcapApplicationListener,\
org.springframework.boot.config.ConfigFileApplicationListener,\
org.springframework.boot.context.FileEncodingApplicationListener,\
org.springframework.boot.context.FileEncodingApplicationListener,\
org.springframework.boot.context.
ParentContextCloser
ApplicationListener,\
org.springframework.boot.context.
config.ConfigFile
ApplicationListener,\
org.springframework.boot.context.
env
.EnvironmentDelegateApplicationListener,\
org.springframework.boot.context.
config
.EnvironmentDelegateApplicationListener,\
org.springframework.boot.liquibase.LiquibaseServiceLocatorApplicationListener,\
org.springframework.boot.liquibase.LiquibaseServiceLocatorApplicationListener,\
org.springframework.boot.logging.ClasspathLoggingApplicationListener,\
org.springframework.boot.logging.ClasspathLoggingApplicationListener,\
org.springframework.boot.logging.LoggingApplicationListener
org.springframework.boot.logging.LoggingApplicationListener
...
...
spring-boot/src/test/java/org/springframework/boot/cloudfoundry/VcapApplicationListenerTests.java
View file @
4a58171b
...
@@ -18,7 +18,7 @@ package org.springframework.boot.cloudfoundry;
...
@@ -18,7 +18,7 @@ package org.springframework.boot.cloudfoundry;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.
context.
event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.annotation.AnnotationConfigApplicationContext
;
import
org.springframework.context.annotation.AnnotationConfigApplicationContext
;
...
...
spring-boot/src/test/java/org/springframework/boot/context/FileEncodingApplicationListenerTests.java
View file @
4a58171b
...
@@ -19,7 +19,7 @@ package org.springframework.boot.context;
...
@@ -19,7 +19,7 @@ package org.springframework.boot.context;
import
org.junit.Assume
;
import
org.junit.Assume
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.
context.
event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.core.env.ConfigurableEnvironment
;
import
org.springframework.core.env.ConfigurableEnvironment
;
import
org.springframework.core.env.StandardEnvironment
;
import
org.springframework.core.env.StandardEnvironment
;
...
...
spring-boot/src/test/java/org/springframework/boot/config/ConfigFileApplicationListenerTests.java
→
spring-boot/src/test/java/org/springframework/boot/con
text/con
fig/ConfigFileApplicationListenerTests.java
View file @
4a58171b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
config
;
package
org
.
springframework
.
boot
.
con
text
.
con
fig
;
import
java.util.Arrays
;
import
java.util.Arrays
;
...
@@ -26,8 +26,9 @@ import org.junit.Rule;
...
@@ -26,8 +26,9 @@ import org.junit.Rule;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.rules.ExpectedException
;
import
org.junit.rules.ExpectedException
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.config.ConfigFileApplicationListener.ConfigurationPropertySources
;
import
org.springframework.boot.context.config.ConfigFileApplicationListener
;
import
org.springframework.boot.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.context.config.ConfigFileApplicationListener.ConfigurationPropertySources
;
import
org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
...
...
spring-boot/src/test/java/org/springframework/boot/context/
env
/EnvironmentDelegateApplicationContextInitializerTests.java
→
spring-boot/src/test/java/org/springframework/boot/context/
config
/EnvironmentDelegateApplicationContextInitializerTests.java
View file @
4a58171b
...
@@ -14,11 +14,12 @@
...
@@ -14,11 +14,12 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
context
.
env
;
package
org
.
springframework
.
boot
.
context
.
config
;
import
org.junit.Rule
;
import
org.junit.Rule
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.rules.ExpectedException
;
import
org.junit.rules.ExpectedException
;
import
org.springframework.boot.context.config.EnvironmentDelegateApplicationContextInitializer
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.context.ApplicationContextException
;
import
org.springframework.context.ApplicationContextException
;
import
org.springframework.context.ApplicationContextInitializer
;
import
org.springframework.context.ApplicationContextInitializer
;
...
...
spring-boot/src/test/java/org/springframework/boot/context/
env
/EnvironmentDelegateApplicationListenerTests.java
→
spring-boot/src/test/java/org/springframework/boot/context/
config
/EnvironmentDelegateApplicationListenerTests.java
View file @
4a58171b
...
@@ -14,14 +14,15 @@
...
@@ -14,14 +14,15 @@
* limitations under the License.
* limitations under the License.
*/
*/
package
org
.
springframework
.
boot
.
context
.
env
;
package
org
.
springframework
.
boot
.
context
.
config
;
import
org.junit.After
;
import
org.junit.After
;
import
org.junit.Rule
;
import
org.junit.Rule
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.rules.ExpectedException
;
import
org.junit.rules.ExpectedException
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.context.config.EnvironmentDelegateApplicationListener
;
import
org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.ConfigurableApplicationContext
;
...
...
spring-boot/src/test/java/org/springframework/boot/logging/LoggingApplicationListenerTests.java
View file @
4a58171b
...
@@ -29,7 +29,7 @@ import org.junit.Rule;
...
@@ -29,7 +29,7 @@ import org.junit.Rule;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.junit.rules.TemporaryFolder
;
import
org.junit.rules.TemporaryFolder
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.event.ApplicationStartedEvent
;
import
org.springframework.boot.
context.
event.ApplicationStartedEvent
;
import
org.springframework.boot.logging.java.JavaLoggingSystem
;
import
org.springframework.boot.logging.java.JavaLoggingSystem
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.boot.test.EnvironmentTestUtils
;
import
org.springframework.boot.test.OutputCapture
;
import
org.springframework.boot.test.OutputCapture
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment