@Override
        public byte[] doInTransform(final Instrumentor instrumentor, final ClassLoader classLoader, final String className, final Class<?> classBeingRedefined,
        final ProtectionDomain protectionDomain,
        final byte[] classfileBuffer) throws InstrumentException {
            final InstrumentClass target = instrumentor.getInstrumentClass(classLoader, className, classfileBuffer);
            // Support EJB
            final InstrumentMethod method =
                    target.getDeclaredMethod("invokeMethod", new String[]{"short", "org.jboss.as.ee.component.ComponentView", "java.lang.reflect.Method", "java.lang.Object[]",
                            "org.jboss.ejb.client.EJBLocator", "java.util.Map"});
            if (method != null) {
                method.addInterceptor(MethodInvocationHandlerInterceptor.class);
            }

            return target.toBytecode();
        }
Adds the method invoke message handler editor.
agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/JbossPlugin.java