if (isLocal())
{
Object oid = invocation.getMetaData(Dispatcher.DISPATCHER, Dispatcher.OID);
if (Dispatcher.singleton.isRegistered(oid))
{
InvocationResponse response = Dispatcher.singleton.invoke(invocation);
invocation.setResponseContextInfo(response.getContextInfo());
return response.getResponse();
}
}
return invocation.invokeNext();