mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
update > optimize the config follow the spring standard & help IDE quick hints
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ import org.springframework.context.annotation.Bean;
|
||||
* @author lihengming [89921218@qq.com]
|
||||
*/
|
||||
@ConditionalOnWebApplication
|
||||
@ConditionalOnProperty(name = {"spring.datasource.druid.stat-view-servlet.enabled"}, havingValue = "true", matchIfMissing = true)
|
||||
@ConditionalOnProperty(name = "spring.datasource.druid.stat-view-servlet.enabled", havingValue = "true", matchIfMissing = true)
|
||||
public class DruidStatViewServletConfiguration {
|
||||
@Bean
|
||||
public ServletRegistrationBean servletRegistrationBean(DruidStatProperties properties) {
|
||||
|
||||
Reference in New Issue
Block a user