serialize= serialize.replace("${SIR}", ServiceInvocationResult.class.getName());
serialize= serialize.replace("${SI}", ServiceInvocation.class.getName());
if (method.getName().equals("pushResult") && args[0] instanceof ServiceInvocationResult)
{
ServiceInvocationResult serviceInvocationResult= (ServiceInvocationResult) args[0];
if (serviceInvocationResult.getObjectResult() instanceof CrossExecutionResult)
{
CrossExecutionResult result= (CrossExecutionResult) serviceInvocationResult.getObjectResult();
serialize= serialize.replace("${result}", (result.getResult() + "").replace("\"", "\\\"").replace("\n", "\\\\n").replace("\r", "\\\\r"));
serialize= serialize.replace("${id}", serviceInvocationResult.getId());
serialized= true;
}
}
if (!serialized)