JavelinConfig config = new JavelinConfig();
boolean isReturnDetail = config.isReturnDetail();
StringBuffer jvnBuffer = new StringBuffer();
Invocation callee = node.getInvocation();
Invocation caller;
if (parent == null)
{
String processName = VMStatusHelper.getProcessName();
caller =
new Invocation(processName, tree.getRootCallerName(),
JavelinLogConstants.DEFAULT_LOGMETHOD, 0);
}
else
{
caller = parent.getInvocation();
}
if (callee == null)
{
return "";
}
jvnBuffer.append(MESSAGE_TYPES[messageType]);
SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_PATTERN);
jvnBuffer.append(",");
jvnBuffer.append(dateFormat.format(time));
Throwable throwable = node.getThrowable();
if (messageType == ID_THROW)
{
// ��O�N���X��
addToJvnBuffer(throwable.getClass().getName(), jvnBuffer);
// ��O�I�u�W�F�N�gID
addToJvnBuffer(StatsUtil.getObjectID(throwable), jvnBuffer);
}
// �Ăяo���惁�\�b�h��
addToJvnBuffer(getValidMethodName(callee), jvnBuffer);
// �Ăяo����N���X��
addToJvnBuffer(callee.getClassName(), jvnBuffer);
// �Ăяo����I�u�W�F�N�gID
addToJvnBuffer("unknown", jvnBuffer);
if (messageType == ID_FIELD_READ || messageType == ID_FIELD_WRITE)
{
// �A�N�Z�X�����\�b�h��
addToJvnBuffer("", jvnBuffer);
// �A�N�Z�X���N���X��
addToJvnBuffer("", jvnBuffer);
// �A�N�Z�X���I�u�W�F�N�gID
addToJvnBuffer("", jvnBuffer);
// �A�N�Z�X��t�B�[���h�̌^
addToJvnBuffer("", jvnBuffer);
}
else if (messageType == ID_CALL || messageType == ID_RETURN)
{
// �Ăяo�������\�b�h��
addToJvnBuffer(getValidMethodName(caller), jvnBuffer);
// �Ăяo�����N���X��
addToJvnBuffer(caller.getClassName(), jvnBuffer);
// �Ăяo�����I�u�W�F�N�gID
addToJvnBuffer("unknown", jvnBuffer);
// ���f�B�t�@�C�A