private void recordRootSpan(final SpanRecorder recorder, final String rpcName, final String remoteAddress) {
        recorder.recordServiceType(JbossConstants.JBOSS);

        recorder.recordRpcName(rpcName);

        final String serverHostName = System.getProperty("jboss.host.name", "");
        recorder.recordEndPoint(serverHostName);

        recorder.recordRemoteAddress(remoteAddress);

        recorder.recordApi(METHOD_INVOCATION_HANDLER_API_TAG);

    }
Record root span.

@param recorder      the recorder
@param rpcName       the rpc name
@param remoteAddress
agent-module/plugins/jboss/src/main/java/com/navercorp/pinpoint/plugin/jboss/interceptor/MethodInvocationHandlerInterceptor.java