@Override
    public void setup(ProfilerPluginSetupContext context) {
        JettyConfiguration config = new JettyConfiguration(context.getConfig());
        if (!config.isEnable()) {
            logger.info("{} disabled", this.getClass().getSimpleName());
            return;
        }
        logger.info("{} config:{} ", this.getClass().getSimpleName(), config);
        // 8.0 <= x <= 9.4
        logger.info("version range=[8.0, 9.4]");

        if (ServiceType.UNDEFINED.equals(context.getConfiguredApplicationType())) {
            JettyDetector jettyDetector = new JettyDetector(config.getBootstrapMains());
            if (jettyDetector.detect()) {
                logger.info("Detected application type : {}", JettyConstants.JETTY);
                if (!context.registerApplicationType(JettyConstants.JETTY)) {
                    logger.info("Application type [{}] already set, skipping [{}] registration.", context.getApplicationType(), JettyConstants.JETTY);
                }
            }
        }

        logger.info("Adding Jetty transformers");
        addTransformers();
    }
@author Chaein Jung
@author jaehong.kim
agent-module/plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/JettyPlugin.java