@Override
        public byte[] doInTransform(Instrumentor instrumentor, ClassLoader classLoader, String className,
                                    Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
                throws InstrumentException {

            InstrumentClass target = instrumentor.getInstrumentClass(classLoader, className, classfileBuffer);

            // formatLoggingMessage
            InstrumentMethod formatLoggingMessage = InstrumentUtils.findMethod(target, "formatLoggingMessage", new String[]{"org.apache.cxf.interceptor.LoggingMessage"});
            formatLoggingMessage.addScopedInterceptor(CxfLoggingOutMessageMethodInterceptor.class, CxfPluginConstants.CXF_SCOPE);

            return target.toBytecode();
        }
@author barney
@author Victor.Zxy
@version 1.8.1
@since 2017/10/03
agent-module/plugins/cxf/src/main/java/com/navercorp/pinpoint/plugin/cxf/CxfPlugin.java