@Override
    public void setup(ProfilerPluginSetupContext context) {

        final DruidConfig config = new DruidConfig(context.getConfig());
        if (!config.isPluginEnable()) {
            logger.info("{} disabled '{}'", this.getClass().getSimpleName(), "profiler.jdbc.druid=false");
            return;
        }
        logger.info("{} config:{}", this.getClass().getSimpleName(), config);

        addDruidDataSourceTransformer();

        if (config.isProfileClose()) {

            addDruidPooledConnectionTransformer();
        }
    }
The type Druid plugin.

@author Victor.Zxy
@version 1.8.1
@since 2017/07/21
agent-module/plugins/druid/src/main/java/com/navercorp/pinpoint/plugin/druid/DruidPlugin.java