All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.trang.druid.actuate.autoconfigure.DruidDataSourceActuatorAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 1.1.10.2
Show newest version
package com.github.trang.druid.actuate.autoconfigure;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import com.alibaba.druid.pool.DruidDataSource;

/**
 * Druid Actuator 自动配置,默认开启
 *
 * @author trang
 */
@Configuration
@ConditionalOnClass(DruidDataSource.class)
@ConditionalOnProperty(prefix = "management.druid", name = "enabled", havingValue = "true", matchIfMissing = true)
@Import({DruidDataSourceEndpointConfiguration.class, DruidDataSourceMetadataProviderConfiguration.class})
public class DruidDataSourceActuatorAutoConfiguration {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy