Merge branch '2.1.x'
This commit is contained in:
@@ -61,7 +61,8 @@ public class LocalDevToolsAutoConfiguration {
|
||||
* Local LiveReload configuration.
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.livereload", name = "enabled", matchIfMissing = true)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.livereload", name = "enabled",
|
||||
matchIfMissing = true)
|
||||
static class LiveReloadConfiguration {
|
||||
|
||||
@Bean
|
||||
@@ -90,7 +91,8 @@ public class LocalDevToolsAutoConfiguration {
|
||||
* Local Restart Configuration.
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.restart", name = "enabled", matchIfMissing = true)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.restart", name = "enabled",
|
||||
matchIfMissing = true)
|
||||
static class RestartConfiguration {
|
||||
|
||||
private final DevToolsProperties properties;
|
||||
@@ -140,7 +142,8 @@ public class LocalDevToolsAutoConfiguration {
|
||||
}
|
||||
|
||||
@Bean
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.restart", name = "log-condition-evaluation-delta", matchIfMissing = true)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.restart",
|
||||
name = "log-condition-evaluation-delta", matchIfMissing = true)
|
||||
public ConditionEvaluationDeltaLoggingListener conditionEvaluationDeltaLoggingListener() {
|
||||
return new ConditionEvaluationDeltaLoggingListener();
|
||||
}
|
||||
|
||||
@@ -101,7 +101,8 @@ public class RemoteDevToolsAutoConfiguration {
|
||||
* Configuration for remote update and restarts.
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.remote.restart", name = "enabled", matchIfMissing = true)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.remote.restart", name = "enabled",
|
||||
matchIfMissing = true)
|
||||
static class RemoteRestartConfiguration {
|
||||
|
||||
@Bean
|
||||
|
||||
@@ -130,7 +130,8 @@ public class RemoteClientConfiguration implements InitializingBean {
|
||||
* LiveReload configuration.
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.livereload", name = "enabled", matchIfMissing = true)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.livereload", name = "enabled",
|
||||
matchIfMissing = true)
|
||||
static class LiveReloadConfiguration {
|
||||
|
||||
@Autowired
|
||||
@@ -181,7 +182,8 @@ public class RemoteClientConfiguration implements InitializingBean {
|
||||
* Client configuration for remote update and restarts.
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.remote.restart", name = "enabled", matchIfMissing = true)
|
||||
@ConditionalOnProperty(prefix = "spring.devtools.remote.restart", name = "enabled",
|
||||
matchIfMissing = true)
|
||||
static class RemoteRestartClientConfiguration {
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user